Skip to content

Commit

Permalink
fix(type): remove debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
marcj committed Feb 7, 2025
1 parent 11c2116 commit fefd9a3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/type/src/serializer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1718,7 +1718,6 @@ export function serializePropertyOrParameter(type: TypePropertySignature | TypeP
export function validatePropertyOrParameter(type: TypePropertySignature | TypeProperty | TypeParameter, state: TemplateState) {
const optional = isOptional(type)
const hasDefault = hasDefaultValue(type);
throw new Error('asd');

state.addCode(`
if (${state.accessor} === undefined) {
Expand Down

0 comments on commit fefd9a3

Please # to comment.