aboutsummaryrefslogtreecommitdiff
path: root/ags
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ags/README.md15
-rw-r--r--ags/config.ts5
-rw-r--r--ags/tsconfig.json18
l---------ags/types1
4 files changed, 39 insertions, 0 deletions
diff --git a/ags/README.md b/ags/README.md
new file mode 100644
index 0000000..71563ed
--- /dev/null
+++ b/ags/README.md
@@ -0,0 +1,15 @@
+
+# Starter Config
+
+if suggestions don't work, first make sure
+you have TypeScript LSP working in your editor
+
+if you do not want typechecking only suggestions
+
+```json
+// tsconfig.json
+"checkJs": false
+```
+
+types are symlinked to:
+/usr/share/com.github.Aylur.ags/types
diff --git a/ags/config.ts b/ags/config.ts
new file mode 100644
index 0000000..e3b989c
--- /dev/null
+++ b/ags/config.ts
@@ -0,0 +1,5 @@
+App.config({
+ windows: [
+
+ ]
+})
diff --git a/ags/tsconfig.json b/ags/tsconfig.json
new file mode 100644
index 0000000..f03f2d1
--- /dev/null
+++ b/ags/tsconfig.json
@@ -0,0 +1,18 @@
+{
+ "compilerOptions": {
+ "target": "ES2022",
+ "module": "ES2022",
+ "lib": [
+ "ES2022"
+ ],
+ "allowJs": true,
+ "checkJs": true,
+ "strict": true,
+ "noImplicitAny": false,
+ "baseUrl": ".",
+ "typeRoots": [
+ "./types"
+ ],
+ "skipLibCheck": true
+ }
+} \ No newline at end of file
diff --git a/ags/types b/ags/types
new file mode 120000
index 0000000..a8e3f04
--- /dev/null
+++ b/ags/types
@@ -0,0 +1 @@
+/usr/share/com.github.Aylur.ags/types \ No newline at end of file