Skip to content

Commit d69f9f3

Browse files
committed
Add bad test case
1 parent f2ec02b commit d69f9f3

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
// @filename: types.ts
2+
declare module "*.foo" {
3+
export interface OhNo { star: string }
4+
}
5+
6+
// @filename: test.ts
7+
declare module "a.foo" {
8+
export interface OhNo { a: string }
9+
}
10+
import { OhNo } from "b.foo"
11+
declare let ohno: OhNo;
12+
ohno.a // oh no

0 commit comments

Comments
 (0)