* Use emptyObjectType for omitted members instead of unknownType * Use similar logic as is used for empty arrays for missing elements
3 lines
53 B
TypeScript
3 lines
53 B
TypeScript
const [, a = ''] = ''.match('') || [];
|
|
|
|
a.toFixed() |