mirror of
https://github.com/tobspr/shapez.io.git
synced 2025-12-13 10:11:50 +00:00
Fixed class handle type (#1345)
* Fixed class handle type * Fixed import game state
This commit is contained in:
parent
839d203737
commit
0718f6cf80
@ -369,7 +369,7 @@ export class ModInterface {
|
||||
|
||||
/**
|
||||
* Registers a new state class, should be a GameState derived class
|
||||
* @param {typeof GameState} stateClass
|
||||
* @param {typeof import("../core/game_state").GameState} stateClass
|
||||
*/
|
||||
registerGameState(stateClass) {
|
||||
this.modLoader.app.stateMgr.register(stateClass);
|
||||
@ -470,7 +470,7 @@ export class ModInterface {
|
||||
|
||||
/**
|
||||
*
|
||||
* @param {typeof Object} classHandle
|
||||
* @param {Class} classHandle
|
||||
* @param {({ $super, $old }) => any} extender
|
||||
*/
|
||||
extendClass(classHandle, extender) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user