Skip to content

Commit

Permalink
fix: type import
Browse files Browse the repository at this point in the history
  • Loading branch information
believer committed Aug 14, 2024
1 parent 7719bfb commit fe76758
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,5 @@
"postbuild:js": "tsc --emitDeclarationOnly --declaration --outDir ./dist --noEmit false",
"typecheck": "tsc --noEmit"
},
"types": "./dist/index.d.ts"
"types": "./dist/lib/index.d.ts"
}
4 changes: 3 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,7 @@
"types": [
"bun-types" // add Bun global
]
}
},
"exclude": ["lib/**/*.spec.ts"],
"include": ["lib/**/*"]
}

0 comments on commit fe76758

Please sign in to comment.