mirror of
https://github.com/github/codeql.git
synced 2026-02-23 02:13:41 +01:00
10 lines
322 B
TypeScript
10 lines
322 B
TypeScript
// Only the type is exposed. For the time being we do not consider type-only declarations or .d.ts files
|
|
// when naming classes.
|
|
export type { Foo } from "./foo";
|
|
|
|
import * as foo from "./foo";
|
|
|
|
export function expose() {
|
|
return new foo.Foo(); // expose an instance of Foo but not the class
|
|
} // $ name=(pack9).expose
|