mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
28 lines
310 B
TypeScript
28 lines
310 B
TypeScript
import { Foo } from "./exportSymbol"
|
|
|
|
export interface FooMap {
|
|
[Foo]: number;
|
|
}
|
|
|
|
const Bar = "Bar";
|
|
|
|
export interface BarMap {
|
|
[Bar]: number;
|
|
}
|
|
|
|
const Baz = "Baz";
|
|
|
|
if (false) {
|
|
Baz;
|
|
}
|
|
|
|
function getBaz(): typeof Baz { return null; }
|
|
|
|
class C {}
|
|
|
|
if (false) {
|
|
C;
|
|
}
|
|
|
|
function getC(): C { return null; }
|