From d856f7b1c8e6a9307c27af3b0775bac86c3340ab Mon Sep 17 00:00:00 2001 From: Eldritch-Oliver Date: Thu, 16 Oct 2025 23:52:02 -0600 Subject: [PATCH] Add the jsconfig that I forgot to include --- augments.d.ts | 14 ++++++++++++++ jsconfig.json | 20 ++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 augments.d.ts create mode 100644 jsconfig.json diff --git a/augments.d.ts b/augments.d.ts new file mode 100644 index 0000000..9c068d1 --- /dev/null +++ b/augments.d.ts @@ -0,0 +1,14 @@ +declare global { + class Hooks extends foundry.helpers.Hooks {}; + const fromUuid = foundry.utils.fromUuid; +}; + +interface Actor { + /** The system-specific data */ + system: any; +}; + +interface Item { + /** The system-specific data */ + system: any; +}; diff --git a/jsconfig.json b/jsconfig.json new file mode 100644 index 0000000..0b7fce4 --- /dev/null +++ b/jsconfig.json @@ -0,0 +1,20 @@ +{ + "compilerOptions": { + "module": "es2022", + "target": "es2022", + "types": [ + "./augments.d.ts" + ], + "paths": { + "@client/*": ["./foundry/client/*"], + "@common/*": ["./foundry/common/*"], + } + }, + "include": [ + "module/**/*", + "dev/**/*", + "foundry/client/client.mjs", + "foundry/client/global.d.mts", + "foundry/common/primitives/global.d.mts" + ] +}