forked from brave/brave-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
39 lines (39 loc) · 970 Bytes
/
tsconfig.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{
"compilerOptions": {
"sourceMap": true,
"noImplicitAny": true,
// esnext modules supports import() async webpack modules
"module": "esnext",
// chrome 70 supports 100% es2017/8
"target": "es2017",
"allowJs": true,
// convert jsx to react components
"jsx": "react",
"lib": [
"es6",
"dom",
"es7",
"es2017"
],
"moduleResolution": "node",
"baseUrl": ".",
"paths": {
"brave-ui": ["node_modules/brave-ui/src"],
"brave-ui/*": ["node_modules/brave-ui/src/*"]
},
"typeRoots": [
"./node_modules/@types",
"./components/definitions"
],
// optional
"forceConsistentCasingInFileNames": true,
"noImplicitReturns": true,
"strictNullChecks": true,
"suppressImplicitAnyIndexErrors": true,
"noUnusedLocals": true
},
"include": [
"./components/definitions/*",
"./components/brave_extension/extension/brave_extension/types/**/*"
]
}