Files
tsgo/testdata/baselines/reference/submodule/conformance/ambientDeclarationsPatterns_merging3.errors.txt

18 lines
470 B
Plaintext

test.ts(6,6): error TS2339: Property 'a' does not exist on type 'OhNo'.
==== types.ts (0 errors) ====
declare module "*.foo" {
export interface OhNo { star: string }
}
==== test.ts (1 errors) ====
declare module "a.foo" {
export interface OhNo { a: string }
}
import { OhNo } from "b.foo"
declare let ohno: OhNo;
ohno.a // oh no
~
!!! error TS2339: Property 'a' does not exist on type 'OhNo'.