* Add ValueModule as a valid object literal type, as they are immutable * Rename method based on usage
12 lines
187 B
TypeScript
12 lines
187 B
TypeScript
// @filename: foo.ts
|
|
export const x = 3;
|
|
export const y = 5;
|
|
|
|
// @filename: bar.ts
|
|
import * as foo from "./foo";
|
|
|
|
function f(map: { [k: string]: number }) {
|
|
// ...
|
|
}
|
|
|
|
f(foo); |