File: recursiveBaseCheck5.types

package info (click to toggle)
node-typescript 5.0.4%2Bds1-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 459,116 kB
  • sloc: javascript: 1,972,754; makefile: 6; sh: 1
file content (13 lines) | stat: -rw-r--r-- 308 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
=== tests/cases/compiler/recursiveBaseCheck5.ts ===
interface I1<T> extends I2<string> { }
interface I2<T> extends I1<T> { }
class X<T, U> implements I2<T> { }
>X : X<T, U>

(new X).blah;
>(new X).blah : any
>(new X) : X<unknown, unknown>
>new X : X<unknown, unknown>
>X : typeof X
>blah : any