mirror of
https://github.com/swc-project/swc.git
synced 2024-12-24 22:22:34 +03:00
7 lines
188 B
TypeScript
7 lines
188 B
TypeScript
|
// @target: es5
|
||
|
// @noTypesAndSymbols: true
|
||
|
// https://github.com/microsoft/TypeScript/issues/41814
|
||
|
const test = (names: string[]) =>
|
||
|
// single-line comment
|
||
|
names?.filter(x => x);
|