change package manager to pnpm, change type definition
This commit is contained in:
Generated
-8804
File diff suppressed because it is too large
Load Diff
+1
-1
@@ -10,7 +10,7 @@
|
|||||||
"url": "https://github.com/evilbocchi/rbxts-transformer-instances.git"
|
"url": "https://github.com/evilbocchi/rbxts-transformer-instances.git"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"prepare": "npm run generate-declarations && npm run build",
|
"prepack": "npm run generate-declarations && npm run build",
|
||||||
"build": "tsc",
|
"build": "tsc",
|
||||||
"watch": "tsc -w",
|
"watch": "tsc -w",
|
||||||
"test": "jest",
|
"test": "jest",
|
||||||
|
|||||||
Generated
+3420
File diff suppressed because it is too large
Load Diff
@@ -112,6 +112,7 @@ function generateDeclarations(classNames) {
|
|||||||
*/
|
*/
|
||||||
type CreatableInstancesWithConstructors = {
|
type CreatableInstancesWithConstructors = {
|
||||||
[K in keyof CreatableInstances]: {
|
[K in keyof CreatableInstances]: {
|
||||||
|
new (parent?: Instance): CreatableInstances[K];
|
||||||
new (...args: any[]): CreatableInstances[K];
|
new (...args: any[]): CreatableInstances[K];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user