* Allow export default interface. Related to issue 3792. * Update exportDefaultAbstractClass test * Allow default export to be a non-value for lookup purposes * Add local usage to exportDefaultInterface test
11 lines
No EOL
214 B
TypeScript
11 lines
No EOL
214 B
TypeScript
// @Filename: a.ts
|
|
export default abstract class A { a: number; }
|
|
|
|
class B extends A {}
|
|
new B().a.toExponential();
|
|
|
|
// @Filename: b.ts
|
|
import A from './a';
|
|
|
|
class C extends A {}
|
|
new C().a.toExponential(); |