From b8cb957ba7a8d4247276ba385237b4733b6478ca Mon Sep 17 00:00:00 2001 From: Valerie Date: Tue, 22 Jun 2021 20:39:09 -0400 Subject: [PATCH] uhhh typings... this work? --- package.json | 2 +- src/Serializable.ts | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 0862583..48fed08 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "frigid", - "version": "1.3.11", + "version": "1.3.12", "main": "out/index.js", "types": "out/index.d.ts", "license": "MIT", diff --git a/src/Serializable.ts b/src/Serializable.ts index 8778916..327baa4 100644 --- a/src/Serializable.ts +++ b/src/Serializable.ts @@ -5,9 +5,7 @@ export const CTOR_CALLED = Symbol('CTOR_CALLED'); export const INVOKE_CTOR = Symbol('INVOKE_CTOR'); export const DEBUG = Symbol('DEBUG'); -type SerializableClass = { - new(): Serializable; -} & typeof Serializable; +type SerializableClass = typeof Serializable; export default class Serializable {