diff --git a/djx/src/main/ts/tsx/traits.ts b/djx/src/main/ts/tsx/traits.ts --- a/djx/src/main/ts/tsx/traits.ts +++ b/djx/src/main/ts/tsx/traits.ts @@ -63,7 +63,7 @@ export function isWidget(v: any): v is _ } export function isRendition(v: any): v is Rendition { - return typeof v && typeof v.getDomElement === "function"; + return v && typeof v.getDomElement === "function"; } /**