1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2025-12-13 10:11:50 +00:00

Fix return type

This commit is contained in:
Bagel03 2022-01-24 13:12:37 -05:00 committed by GitHub
parent bdd19405cb
commit c0e1724bea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -489,6 +489,7 @@ export class ModInterface {
* @template {constructable} C * @template {constructable} C
* @param {C} classHandle * @param {C} classHandle
* @param {bindThis<(...args: ConstructorParameters<C>) => any, InstanceType<C>>} constructor * @param {bindThis<(...args: ConstructorParameters<C>) => any, InstanceType<C>>} constructor
* @returns {C}
*/ */
extendConstructor(classHandle, constructor) { extendConstructor(classHandle, constructor) {
return function (...args) { return function (...args) {