Files
tsgo/testdata/baselines/reference/submodule/compiler/allowSyntheticDefaultImports10.errors.txt

17 lines
596 B
Plaintext

a.ts(2,5): error TS2339: Property 'default' does not exist on type 'typeof import("b")'.
a.ts(3,5): error TS2339: Property 'default' does not exist on type 'typeof import("b")'.
==== a.ts (2 errors) ====
import Foo = require("./b");
Foo.default.bar();
~~~~~~~
!!! error TS2339: Property 'default' does not exist on type 'typeof import("b")'.
Foo.default.default.foo();
~~~~~~~
!!! error TS2339: Property 'default' does not exist on type 'typeof import("b")'.
==== b.d.ts (0 errors) ====
export function foo();
export function bar();