mirror of
https://github.com/swc-project/swc.git
synced 2024-12-26 15:12:08 +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);
|