Skip to content

Commit 02cf001

Browse files
author
Brandon Everett
committed
update tsconfig.js to use files instead of paths
1 parent 13fb00a commit 02cf001

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎templates/ReactReduxSpa/tsconfig.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"skipDefaultLibCheck": true,
1010
"lib": ["es6", "dom"],
1111
"types": [ "webpack-env" ],
12-
"paths": {
12+
"files": {
1313
// Fix "Duplicate identifier" errors caused by multiple dependencies fetching their own copies of type definitions.
1414
// We tell TypeScript which type definitions module to treat as the canonical one (instead of combining all of them).
1515
"history": ["./node_modules/@types/history/index"],

‎templates/ReactSpa/tsconfig.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"jsx": "preserve",
77
"sourceMap": true,
88
"skipDefaultLibCheck": true,
9-
"paths": {
9+
"files": {
1010
// Fix "Duplicate identifier" errors caused by multiple dependencies fetching their own copies of type definitions.
1111
// We tell TypeScript which type definitions module to treat as the canonical one (instead of combining all of them).
1212
"history": ["./node_modules/@types/history/index"],

0 commit comments

Comments
 (0)