Add bad test case

This commit is contained in:
Andrew Branch
2019-04-24 08:44:24 -07:00
parent f2ec02b971
commit d69f9f3328

View File

@@ -0,0 +1,12 @@
// @filename: types.ts
declare module "*.foo" {
export interface OhNo { star: string }
}
// @filename: test.ts
declare module "a.foo" {
export interface OhNo { a: string }
}
import { OhNo } from "b.foo"
declare let ohno: OhNo;
ohno.a // oh no