Skip to content

Commit

Permalink
Revert one runtime-common file change
Browse files Browse the repository at this point in the history
  • Loading branch information
backspace committed Nov 3, 2023
1 parent 0ff7303 commit d1e81ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/runtime-common/code-ref.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export function isBaseDef(cardOrField: any): cardOrField is typeof BaseDef {
}

export function isCardDef(card: any): card is typeof CardDef {
return !('isFieldDef' in card) && 'isCardDef' in card && isBaseDef(card);
return !('isFieldDef' in card) && isBaseDef(card);
}

export function isFieldDef(field: any): field is typeof FieldDef {
Expand Down

0 comments on commit d1e81ff

Please sign in to comment.