Skip to content

Commit

Permalink
Add type definitions to exports in package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdrogdrog committed Dec 2, 2022
1 parent 441ce49 commit 9c28aa5
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,18 +47,21 @@
"./sync.js": "./sync.js",
"./dist/sync.cjs": "./dist/sync.cjs",
"./sync": {
"types": "./sync.d.ts",
"import": "./sync.js",
"require": "./dist/sync.cjs"
},
"./awareness.js": "./awareness.js",
"./dist/awareness.cjs": "./dist/awareness.cjs",
"./awareness": {
"types": "./awareness.d.ts",
"import": "./awareness.js",
"require": "./dist/awareness.cjs"
},
"./auth.js": "./auth.js",
"./dist/auth.cjs": "./dist/auth.cjs",
"./auth": {
"types": "./auth.d.ts",
"import": "./auth.js",
"require": "./dist/auth.cjs"
}
Expand Down

0 comments on commit 9c28aa5

Please sign in to comment.