From cd6f229ed84b8fdb26ca80553dbed05d33a3949f Mon Sep 17 00:00:00 2001 From: Matthew Dean Date: Mon, 13 Nov 2023 06:17:13 -0800 Subject: [PATCH] Fixes #1192 - extends abstract (and non-abstract) class --- src/structs/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/structs/types.ts b/src/structs/types.ts index 8bcc0ef3..d16643c8 100644 --- a/src/structs/types.ts +++ b/src/structs/types.ts @@ -140,7 +140,7 @@ export function func(): Struct { * Ensure that a value is an instance of a specific class. */ -export function instance( +export function instance any>( Class: T ): Struct, null> { return define('instance', (value) => {