File: classExtendsInterfaceInModule.types

package info (click to toggle)
node-typescript 3.3.3333-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 324,548 kB
  • sloc: makefile: 6; sh: 3
file content (31 lines) | stat: -rw-r--r-- 482 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
=== tests/cases/compiler/classExtendsInterfaceInModule.ts ===
module M {
  export interface I1 {}
  export interface I2<T> {}
}
class C1 extends M.I1 {}
>C1 : C1
>M.I1 : any
>M : any
>I1 : any

class C2<T> extends M.I2<T> {}
>C2 : C2<T>
>M.I2 : any
>M : any
>I2 : any

module Mod {
	export namespace Nested {
		export interface I {}
	}
}

class D extends Mod.Nested.I {}
>D : D
>Mod.Nested.I : any
>Mod.Nested : any
>Mod : any
>Nested : any
>I : any