oxc/crates/oxc_isolated_declarations/tests/fixtures/expando-function.ts

15 lines
No EOL
250 B
TypeScript

export function foo(): void {}
foo.apply = () => {}
export const bar = (): void => {}
bar.call = ()=> {}
export namespace NS {
export const goo = (): void => {}
goo.length = 10
}
// unexported
const zoo = (): void => {}
zoo.toString = ()=> {}