forked from gTile/gTile
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
52 lines (46 loc) · 1.85 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
{
"include": [
"*.d.ts",
"src",
"test"
],
"compilerOptions": {
/*
* Set the JavaScript language version for emitted JavaScript and include compatible library declarations.
*
* This extension only supports Gnome versions >= 45 which implies that the
* GJS runtime is at least v1.78 which in turn is based on SpiderMonkey-115
* which features support for ECMAScript 2022 aka ES13.
*/
"target": "ES2022",
/**
* Specify a set of bundled library declaration files that describe the target runtime environment.
*
* Restrict types to what is offered by the JS runtime environment. When not
* defined explicitly, DOM related APIs (e.g. window, etc.) will wrongfully
* be available in the project.
*
* Additional declarations and globals are specified in gnome-shell.d.ts.
*/
"lib": ["ES2022"],
/**
* Specify what module code is generated.
*
* Checks package.json "type" field to determine module output format.
*/
"module": "Node16",
/**
* Specify how TypeScript looks up a file from a given module specifier.
*/
"moduleResolution": "Node16",
/* Emit */
"sourceMap": true, /* Create source map files for emitted JavaScript files. */
"outDir": "./out", /* Specify an output folder for all emitted files. */
"removeComments": true, /* Disable emitting comments. */
/* Interop Constraints */
"forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */
/* Type Checking */
"strict": true, /* Enable all strict type-checking options. */
// "alwaysStrict": true, /* Ensure 'use strict' is always emitted. */
},
}