Skip to content

Commit

Permalink
Merge pull request #21 from mrdrogdrog/add-types-in-package-json
Browse files Browse the repository at this point in the history
Add type definitions to exports in package.json
  • Loading branch information
dmonad authored Mar 31, 2023
2 parents 4459c3a + 4fbfdbf commit ba21a9c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,20 +47,23 @@
"./sync.js": "./sync.js",
"./dist/sync.cjs": "./dist/sync.cjs",
"./sync": {
"types": "./sync.d.ts",
"module": "./sync.js",
"import": "./sync.js",
"require": "./dist/sync.cjs"
},
"./awareness.js": "./awareness.js",
"./dist/awareness.cjs": "./dist/awareness.cjs",
"./awareness": {
"types": "./awareness.d.ts",
"module": "./awareness.js",
"import": "./awareness.js",
"require": "./dist/awareness.cjs"
},
"./auth.js": "./auth.js",
"./dist/auth.cjs": "./dist/auth.cjs",
"./auth": {
"types": "./auth.d.ts",
"module": "./auth.js",
"import": "./auth.js",
"require": "./dist/auth.cjs"
Expand Down

0 comments on commit ba21a9c

Please sign in to comment.