Skip to content

Commit 71b1132

Browse files
committed
fix type errors on tests from module resolution
1 parent f44c7d6 commit 71b1132

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"predev": "npm run build",
1212
"format": "prettier --write .",
1313
"lint": "eslint . && npm run typecheck && prettier --check .",
14-
"typecheck": "cd packages/convex-helpers && npm run typecheck",
14+
"typecheck": "tsc --noEmit && cd packages/convex-helpers && npm run typecheck",
1515
"build": "cd packages/convex-helpers && npm run build",
1616
"clean": "rm -rf packages/convex-helpers/dist",
1717
"pack": "cd packages/convex-helpers/dist && npm pack --pack-destination ../../..",

packages/convex-helpers/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,5 +108,5 @@
108108
"verbatimModuleSyntax": true
109109
},
110110
"include": ["."],
111-
"exclude": ["node_modules", "dist"]
111+
"exclude": ["node_modules", "dist", "**/*.test.ts"]
112112
}

tsconfig.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@
88
"allowSyntheticDefaultImports": true,
99
"strict": true,
1010
"forceConsistentCasingInFileNames": true,
11-
"module": "NodeNext",
12-
"moduleResolution": "NodeNext",
11+
"module": "ESNext",
12+
"moduleResolution": "Bundler",
1313
"resolveJsonModule": true,
1414
"isolatedModules": true,
1515
"noEmit": true,
1616
"jsx": "react-jsx"
1717
},
18-
"include": ["./src", "./convex"]
18+
"include": ["./src", "./convex", "./packages/convex-helpers/**/*.test.ts"]
1919
}

0 commit comments

Comments
 (0)