From f4014e9c357e5a57b7db89aa1f1ec4ee623771f8 Mon Sep 17 00:00:00 2001 From: Oliver-Akins Date: Tue, 26 Mar 2024 18:37:13 -0600 Subject: [PATCH] Add type augments for classes so intellisense doesn't keep converting system to migrateSystemData --- augments.d.ts | 9 +++++++++ jsconfig.json | 7 +++++++ 2 files changed, 16 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..df16590 --- /dev/null +++ b/augments.d.ts @@ -0,0 +1,9 @@ +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..2304d94 --- /dev/null +++ b/jsconfig.json @@ -0,0 +1,7 @@ +{ + "compilerOptions": { + "types": [ + "./augments.d.ts" + ] + } +} \ No newline at end of file