30 lines
448 B
Text
30 lines
448 B
Text
|
=== tests/cases/compiler/es6ClassTest5.ts ===
|
||
|
class C1T5 {
|
||
|
>C1T5 : C1T5
|
||
|
|
||
|
foo: (i: number, s: string) => number =
|
||
|
>foo : (i: number, s: string) => number
|
||
|
>i : number
|
||
|
>s : string
|
||
|
|
||
|
(i) => {
|
||
|
>(i) => {
|
||
|
return i;
|
||
|
} : (i: number) => number
|
||
|
>i : number
|
||
|
|
||
|
return i;
|
||
|
>i : number
|
||
|
}
|
||
|
}
|
||
|
module C2T5 {}
|
||
|
>C2T5 : C2T5
|
||
|
|
||
|
class bigClass {
|
||
|
>bigClass : bigClass
|
||
|
|
||
|
public break = 1;
|
||
|
>break : number
|
||
|
}
|
||
|
|