Skip to content
This repository was archived by the owner on Apr 5, 2025. It is now read-only.

Commit 9c87724

Browse files
committed
Fix typescript reflect-metadata type def not found error
1 parent d204f7e commit 9c87724

File tree

3 files changed

+22
-1
lines changed

3 files changed

+22
-1
lines changed

package-lock.json

Lines changed: 20 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
"@types/react": "^18.2.79",
3636
"@types/react-dom": "^18.2.25",
3737
"@types/react-lazy-load-image-component": "^1.6.4",
38+
"@types/reflect-metadata": "^0.1.0",
3839
"@types/styled-components": "^5.1.34",
3940
"@typescript-eslint/eslint-plugin": "^5.19.0",
4041
"@typescript-eslint/parser": "^5.19.0",

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"jsx": "react-jsx",
2020
"baseUrl": "src",
2121
"typeRoots": ["node_modules/@types", "typings"],
22-
"types": ["reflect-metadata"]
22+
"types": []
2323
},
2424
"include": ["src"]
2525
}

0 commit comments

Comments
 (0)