-
-
Notifications
You must be signed in to change notification settings - Fork 184
/
tsconfig.json
67 lines (66 loc) · 2.69 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
61
62
63
64
65
66
67
{
"version": "1.1.0",
"compileOnSave": true,
"compilerOptions": {
"module": "es2020",
"target": "es2018",
"outDir": "./build",
"forceConsistentCasingInFileNames": true,
"downlevelIteration": true,
"lib": ["es2018", "dom"],
"pretty": true,
"sourceMap": false,
"declaration": false,
"removeComments": true,
"incremental": true,
"noImplicitAny": true,
"noUnusedLocals": false,
"noUnusedParameters": false,
"strictNullChecks": true,
"noFallthroughCasesInSwitch": true,
"allowJs": true,
"strict": true,
"moduleResolution": "node",
"importHelpers": true,
"baseUrl": ".",
"experimentalDecorators": true,
"paths": {
// Generated by ts-for-gir; we don't generate a tsconfig.alias.json,
// because we'd like to have unversioned aliases as GNOME shell enforces
// a specific version anyway, and we can't merge paths declarations, so
// we couldn't add our own.
"gi://GObject": ["./@types/gir-generated/gobject-2.0.d.ts"],
"gi://GLib": ["./@types/gir-generated/glib-2.0.d.ts"],
"gi://Gio": ["./@types/gir-generated/gio-2.0.d.ts"],
"gi://Gtk": ["./@types/gir-generated/gtk-4.0.d.ts"],
"gi://Adw": ["./@types/gir-generated/adw-1.d.ts"],
"gi://St": ["./@types/gir-generated/st-13.d.ts"],
"gi://Clutter": ["./@types/gir-generated/clutter-13.d.ts"],
"gi://Meta": ["./@types/gir-generated/meta-13.d.ts"],
"gi://Shell": ["./@types/gir-generated/shell-13.d.ts"],
"gi://Soup": ["./@types/gir-generated/soup.d.ts"],
"gi://GnomeDesktop": [
"./@types/gir-generated/gnomedesktop-4.0.d.ts"
],
"gi://Cogl": ["./@types/gir-generated/cogl-13"],
"gi://Pango": ["./@types/gir-generated/pango-1.0"],
"gi://GdkPixbuf": ["./@types/gir-generated/gdkpixbuf-2.0"],
"gi://Gdk": ["./@types/gir-generated/gdk-4.0"],
// Our own types. First as they are seen in GNOME shell extensions,
// and then how they're seen by prefs.js.
"resource:///org/gnome/shell/*": ["./@types/gnome-shell/*"],
"resource:///org/gnome/Shell/Extensions/js/*": [
"./@types/gnome-shell/*"
]
},
"skipLibCheck": false
},
"include": [
"src/**/*.ts",
// Include GJS global environment types
"@types/gir-generated/ambient.d.ts",
"@types/gir-generated/gjs.d.ts",
"@types/gir-generated/dom.d.ts",
"@types/mod.d.ts"
]
}