Skip to content

Commit

Permalink
fix(expect): publish semantically correct chai types
Browse files Browse the repository at this point in the history
  • Loading branch information
sheremet-va committed Oct 17, 2023
1 parent 2396858 commit d2ca409
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/expect/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
import './dist/chai'
import './dist/chai.cjs'

export * from './dist/index'
export * from './dist/index.js'
2 changes: 1 addition & 1 deletion packages/expect/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const plugins = [
}),
copy({
targets: [
{ src: 'node_modules/@types/chai/index.d.ts', dest: 'dist', rename: 'chai.d.ts' },
{ src: 'node_modules/@types/chai/index.d.ts', dest: 'dist', rename: 'chai.d.cts' },
],
}),
]
Expand Down

0 comments on commit d2ca409

Please sign in to comment.