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"
|
||||
},
|
||||
"scripts": {
|
||||
"prepare": "npm run generate-declarations && npm run build",
|
||||
"prepack": "npm run generate-declarations && npm run build",
|
||||
"build": "tsc",
|
||||
"watch": "tsc -w",
|
||||
"test": "jest",
|
||||
|
||||
Generated
+3420
File diff suppressed because it is too large
Load Diff
@@ -112,6 +112,7 @@ function generateDeclarations(classNames) {
|
||||
*/
|
||||
type CreatableInstancesWithConstructors = {
|
||||
[K in keyof CreatableInstances]: {
|
||||
new (parent?: Instance): CreatableInstances[K];
|
||||
new (...args: any[]): CreatableInstances[K];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user