mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
16 lines
328 B
TypeScript
16 lines
328 B
TypeScript
//// [tests/cases/compiler/functionExpandoPropertyDeclaration.ts] ////
|
|
|
|
//// [functionExpandoPropertyDeclaration.ts]
|
|
const foo = () => {}
|
|
foo.bar = 42
|
|
export {}
|
|
|
|
//// [functionExpandoPropertyDeclaration.js]
|
|
const foo = () => { };
|
|
foo.bar = 42;
|
|
export {};
|
|
|
|
|
|
//// [functionExpandoPropertyDeclaration.d.ts]
|
|
export {};
|