From 30ae3cfa42e485a00a268c332a76ae322cf32246 Mon Sep 17 00:00:00 2001 From: "eric.marin" Date: Wed, 9 Oct 2024 19:26:26 +0200 Subject: added ags and removed eww --- ags/README.md | 15 +++++++++++++++ ags/config.ts | 5 +++++ ags/tsconfig.json | 18 ++++++++++++++++++ ags/types | 1 + 4 files changed, 39 insertions(+) create mode 100644 ags/README.md create mode 100644 ags/config.ts create mode 100644 ags/tsconfig.json create mode 120000 ags/types (limited to 'ags') 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 -- cgit v1.2.3