2016-11-18 16:48:12 +01:00
|
|
|
// Test that extending an untyped module is an error, unlike extending unknownSymbol.
|
|
|
|
// @noImplicitReferences: true
|
2017-04-06 18:02:18 +02:00
|
|
|
// @noUnusedLocals: true
|
2016-11-18 16:48:12 +01:00
|
|
|
|
|
|
|
// @Filename: /node_modules/foo/index.js
|
|
|
|
This file is not read.
|
|
|
|
|
2017-04-06 18:02:18 +02:00
|
|
|
// @Filename: /node_modules/bar/index.js
|
|
|
|
Nor is this one.
|
|
|
|
|
2016-11-18 16:48:12 +01:00
|
|
|
// @Filename: /a.ts
|
|
|
|
import Foo from "foo";
|
2017-04-06 18:02:18 +02:00
|
|
|
import Bar from "bar"; // error: unused
|
|
|
|
export class A extends Foo { }
|