Skip to content

Commit 7bc9691

Browse files
committed
fix(TS): ship d.ts file for client
1 parent 8a5f6d4 commit 7bc9691

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

client.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export * from './dist/client'

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
"homepage": "https://github.com/kentcdodds/mdx-bundler#readme",
2222
"files": [
2323
"dist",
24-
"client.js"
24+
"client.js",
25+
"client.d.ts"
2526
],
2627
"scripts": {
2728
"build": "kcd-scripts build",
@@ -69,6 +70,7 @@
6970
"eslintIgnore": [
7071
"node_modules",
7172
"coverage",
72-
"dist"
73+
"dist",
74+
"*.d.ts"
7375
]
7476
}

0 commit comments

Comments
 (0)