Skip to content

Commit c396f5d

Browse files
committed
chore: move typeRoots to root configuration
1 parent 14cd2f9 commit c396f5d

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/tsconfig.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@
44
"declaration": true,
55
"declarationDir": "../build",
66
"noEmit": false,
7-
"emitDeclarationOnly": true,
8-
"typeRoots": [
9-
"../types",
10-
"../node_modules/@types"
11-
]
7+
"emitDeclarationOnly": true
128
}
139
}

tsconfig.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
"noEmit": true,
77
"strict": true,
88
"isolatedModules": true,
9-
"esModuleInterop": true
9+
"esModuleInterop": true,
10+
"typeRoots": [
11+
"types",
12+
"node_modules/@types"
13+
]
1014
}
1115
}

0 commit comments

Comments
 (0)