Skip to content

Commit 824ce22

Browse files
committed
fix copy of types.d.ts
1 parent e47e488 commit 824ce22

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

move-react.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,11 @@ files.forEach((fileName)=>{
2626
}
2727
})
2828

29-
// copy types.d
29+
// copy types and evaluation-context
3030
fs.copyFileSync(path.join(__dirname,"types.d.ts"),path.join(__dirname,"lib/flagsmith/src/types.d.ts"))
3131
fs.copyFileSync(path.join(__dirname,"types.d.ts"),path.join(__dirname,"lib/react-native-flagsmith/src/types.d.ts"))
32-
// copy evaluation-context
32+
fs.copyFileSync(path.join(__dirname,"types.d.ts"),path.join(__dirname,"lib/flagsmith/types.d.ts"))
33+
fs.copyFileSync(path.join(__dirname,"types.d.ts"),path.join(__dirname,"lib/react-native-flagsmith/types.d.ts"))
3334
fs.copyFileSync(path.join(__dirname,"evaluation-context.ts"),path.join(__dirname,"lib/flagsmith/evaluation-context.ts"))
3435
fs.copyFileSync(path.join(__dirname,"evaluation-context.ts"),path.join(__dirname,"lib/react-native-flagsmith/evaluation-context.ts"))
3536

0 commit comments

Comments
 (0)