diff --git a/packages/template/-private/signature.d.ts b/packages/template/-private/signature.d.ts index b674b2c6d..0f54948ee 100644 --- a/packages/template/-private/signature.d.ts +++ b/packages/template/-private/signature.d.ts @@ -45,7 +45,7 @@ export type ComponentSignatureBlocks = S extends { Blocks: infer Blocks } /** Given a component signature `S`, get back the `Element` type. */ export type ComponentSignatureElement = S extends { Element: infer Element } - ? NonNullable extends never + ? Element extends null ? unknown : Element : unknown;