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) => {