Skip to content

Commit eeaa593

Browse files
committed
fix: typing in js
1 parent cc1bce1 commit eeaa593

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/cli/lib/type-generation/languages/javascript.js.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class JavaScript extends LanguageMeta {
4141
type += "[]";
4242
}
4343
if (!attribute.required && attribute.default === null) {
44-
type += "|null|undefined";
44+
type += "|null";
4545
}
4646
return type;
4747
}

0 commit comments

Comments
 (0)