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

update tsconfig.js to use files instead of paths #730

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion templates/ReactReduxSpa/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"skipDefaultLibCheck": true,
"lib": ["es6", "dom"],
"types": [ "webpack-env" ],
"paths": {
"files": {
// Fix "Duplicate identifier" errors caused by multiple dependencies fetching their own copies of type definitions.
// We tell TypeScript which type definitions module to treat as the canonical one (instead of combining all of them).
"history": ["./node_modules/@types/history/index"],
Expand Down
2 changes: 1 addition & 1 deletion templates/ReactSpa/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"jsx": "preserve",
"sourceMap": true,
"skipDefaultLibCheck": true,
"paths": {
"files": {
// Fix "Duplicate identifier" errors caused by multiple dependencies fetching their own copies of type definitions.
// We tell TypeScript which type definitions module to treat as the canonical one (instead of combining all of them).
"history": ["./node_modules/@types/history/index"],
Expand Down