Add the jsconfig that I forgot to include
This commit is contained in:
parent
643b2e0c88
commit
d856f7b1c8
2 changed files with 34 additions and 0 deletions
14
augments.d.ts
vendored
Normal file
14
augments.d.ts
vendored
Normal file
|
|
@ -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;
|
||||||
|
};
|
||||||
20
jsconfig.json
Normal file
20
jsconfig.json
Normal file
|
|
@ -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"
|
||||||
|
]
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue