-
Notifications
You must be signed in to change notification settings - Fork 8
/
tsconfig.json
60 lines (60 loc) · 1.55 KB
/
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{
"compilerOptions": {
"allowImportingTsExtensions": true,
"allowJs": true,
"allowSyntheticDefaultImports": true,
"composite": true,
"declaration": true,
"emitDeclarationOnly": true,
"esModuleInterop": true,
"isolatedModules": true,
"lib": ["ES2022", "DOM", "DOM.Iterable"],
"module": "ESNext",
"moduleResolution": "bundler",
"noUncheckedIndexedAccess": true,
"noUnusedLocals": true, // FIXME: disable in development
"noUnusedParameters": true, // FIXME: disable in development
"outDir": "dist",
"paths": {
/**
* Without specifying this path, resolution of vue/types/v3-component-public-instance fails:
* TS2742 is thrown, and is only fixable by manually importing specific vue/types files
* wherever there is an indirect reference to one of the types.
*
* Either baseUrl is specified to point to root node_modules by setting it to '../../'
* or the particular reference to vue imports is set on the paths option.
*/
"vue/*": ["../../node_modules/vue/*"]
},
"resolveJsonModule": true,
"rootDir": "source",
"skipLibCheck": true,
"sourceMap": true,
"strict": true,
"target": "ESNext",
"tsBuildInfoFile": "dist/tsconfig.tsbuildinfo"
},
"exclude": ["node_modules", "dist"],
"include": [
"source/*.ts",
"source/**/*.ts",
"source/**/*.js",
"source/**/*.vue"
],
"references": [
{
"path": "./tsconfig.node.json"
},
{
"path": "../vue-use-tippy"
},
{
"path": "../yoco"
}
],
"vueCompilerOptions": {
"skipTemplateCodegen": true,
"strictTemplates": true,
"target": 2.7
}
}