diff --git a/package.json b/package.json index 6c8e702..57dba09 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "frigid", - "version": "1.3.9", + "version": "1.3.10", "main": "out/index.js", "types": "out/index.d.ts", "license": "MIT", diff --git a/src/Serializable.ts b/src/Serializable.ts index 327baa4..8778916 100644 --- a/src/Serializable.ts +++ b/src/Serializable.ts @@ -5,7 +5,9 @@ export const CTOR_CALLED = Symbol('CTOR_CALLED'); export const INVOKE_CTOR = Symbol('INVOKE_CTOR'); export const DEBUG = Symbol('DEBUG'); -type SerializableClass = typeof Serializable; +type SerializableClass = { + new(): Serializable; +} & typeof Serializable; export default class Serializable {