Add type augments for classes so intellisense doesn't keep converting system to migrateSystemData
This commit is contained in:
parent
4c11a21d09
commit
f4014e9c35
2 changed files with 16 additions and 0 deletions
9
augments.d.ts
vendored
Normal file
9
augments.d.ts
vendored
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
interface Actor {
|
||||||
|
/** The system-specific data */
|
||||||
|
system: any;
|
||||||
|
};
|
||||||
|
|
||||||
|
interface Item {
|
||||||
|
/** The system-specific data */
|
||||||
|
system: any;
|
||||||
|
};
|
||||||
7
jsconfig.json
Normal file
7
jsconfig.json
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
{
|
||||||
|
"compilerOptions": {
|
||||||
|
"types": [
|
||||||
|
"./augments.d.ts"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue