fix(expect): fix chai import in dts (#8077)

This commit is contained in:
Hiroshi Ogawa 2025-06-03 15:17:50 +09:00 committed by GitHub
parent c00983c5a2
commit a759347ffe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 6 deletions

View File

@ -1,3 +0,0 @@
import './dist/chai.cjs'
export * from './dist/index.js'

View File

@ -17,16 +17,15 @@
"sideEffects": false,
"exports": {
".": {
"types": "./index.d.ts",
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./*": "./*"
},
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./index.d.ts",
"types": "./dist/index.d.ts",
"files": [
"*.d.ts",
"dist"
],
"scripts": {

View File

@ -1,6 +1,7 @@
{
"extends": ["./tsconfig.patch.json"],
"compilerOptions": {
"noUncheckedSideEffectImports": true,
"target": "ESNext",
"module": "ESNext",
"moduleResolution": "Bundler",