From cfc083b581fa75722c3b4aaec1d0d5718ba24004 Mon Sep 17 00:00:00 2001 From: Bronwen Date: Tue, 22 Jun 2021 19:51:12 -0400 Subject: [PATCH] minor typings update, idk what im doing --- package.json | 2 +- src/Serializable.ts | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) 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 {