Skip to content

Commit

Permalink
hard copy esmock d.ts file into tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bumblehead committed Aug 19, 2022
1 parent b8aa956 commit e9327d1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
},
"main": "package.json.esmock.export.js",
"exports": {
"types": "../src/esmock.d.ts",
"import": "../src/esmockLoader.js"
"types": "./package.json.esmock.export.d.ts",
"import": "./package.json.esmock.export.js"
},
"dependencies": {
"pg": "^8.7.3",
Expand Down
2 changes: 2 additions & 0 deletions tests/package.json.esmock.export.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
declare function esmock(path: string, localmock?: any, globalmock?: any, opts?: any): any;
export default esmock;

0 comments on commit e9327d1

Please sign in to comment.