mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
20 lines
547 B
Plaintext
20 lines
547 B
Plaintext
//// [tests/cases/compiler/classExtendsNull2.ts] ////
|
|
|
|
=== classExtendsNull2.ts ===
|
|
// https://github.com/microsoft/TypeScript/issues/55499
|
|
|
|
interface Base {}
|
|
>Base : Symbol(Base, Decl(classExtendsNull2.ts, 0, 0))
|
|
|
|
class C extends null {
|
|
>C : Symbol(C, Decl(classExtendsNull2.ts, 2, 17), Decl(classExtendsNull2.ts, 8, 1))
|
|
|
|
constructor() {
|
|
super();
|
|
}
|
|
}
|
|
interface C extends Base {}
|
|
>C : Symbol(C, Decl(classExtendsNull2.ts, 2, 17), Decl(classExtendsNull2.ts, 8, 1))
|
|
>Base : Symbol(Base, Decl(classExtendsNull2.ts, 0, 0))
|
|
|