* improve error message when type have same name * fix lint and function name * update test case * accept baseline
23 lines
238 B
TypeScript
23 lines
238 B
TypeScript
// @filename: a.ts
|
|
export interface F {
|
|
foo1: number
|
|
}
|
|
|
|
// @filename: b.ts
|
|
export interface F {
|
|
foo2: number
|
|
}
|
|
|
|
// @filename: c.ts
|
|
import * as A from './a'
|
|
import * as B from './b'
|
|
|
|
let a: A.F
|
|
let b: B.F
|
|
|
|
if (a === b) {
|
|
|
|
}
|
|
|
|
a = b
|