13 lines
212 B
Plaintext
13 lines
212 B
Plaintext
=== tests/cases/compiler/assignmentCompatability44.ts ===
|
|
class Foo {
|
|
>Foo : Foo
|
|
|
|
constructor(x: number) {}
|
|
>x : number
|
|
}
|
|
|
|
const foo: { new(): Foo } = Foo;
|
|
>foo : new () => Foo
|
|
>Foo : typeof Foo
|
|
|