mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
12 lines
236 B
TypeScript
12 lines
236 B
TypeScript
// @module: nodenext
|
|
// @target: esnext
|
|
// @strict: true
|
|
// @noEmit: true
|
|
// @filename: foo.d.ts
|
|
declare function foo(): void;
|
|
declare namespace foo {}
|
|
export = foo;
|
|
// @filename: index.ts
|
|
import * as foo from "./foo";
|
|
foo()
|