Skip to content

Commit 9e1a8a9

Browse files
committed
test fix
1 parent 9055eab commit 9e1a8a9

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

packages/host/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
],
4242
"scripts": {
4343
"build": "tsc --build",
44-
"copy-node-api-headers": "tsx scripts/copy-node-api-headers.ts",
44+
"copy-node-api-headers": "tsx --tsconfig ./tsconfig.node-scripts.json scripts/copy-node-api-headers.ts",
4545
"generate-weak-node-api": "tsx scripts/generate-weak-node-api.ts",
4646
"generate-weak-node-api-injector": "tsx scripts/generate-weak-node-api-injector.ts",
4747
"build-weak-node-api": "cmake-rn --no-auto-link --no-weak-node-api-linkage --xcframework-extension --source ./weak-node-api --out ./weak-node-api",

packages/host/tsconfig.node-scripts.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"compilerOptions": {
44
"composite": true,
55
"emitDeclarationOnly": true,
6+
"esModuleInterop": true,
67
"outDir": "dist",
78
"rootDir": "scripts",
89
"types": ["node"]

0 commit comments

Comments
 (0)