2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/asiInES6Classes.ts ===
|
|
|
|
class Foo {
|
2015-04-13 23:01:57 +02:00
|
|
|
>Foo : Foo, Symbol(Foo, Decl(asiInES6Classes.ts, 0, 0))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
defaults = {
|
2015-04-13 23:01:57 +02:00
|
|
|
>defaults : { done: boolean; }, Symbol(defaults, Decl(asiInES6Classes.ts, 0, 11))
|
2014-08-22 03:39:46 +02:00
|
|
|
>{ done: false } : { done: boolean; }
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
done: false
|
2015-04-13 23:01:57 +02:00
|
|
|
>done : boolean, Symbol(done, Decl(asiInES6Classes.ts, 4, 16))
|
2015-04-13 21:36:11 +02:00
|
|
|
>false : boolean
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bar() {
|
2015-04-13 23:01:57 +02:00
|
|
|
>bar : () => number, Symbol(bar, Decl(asiInES6Classes.ts, 8, 5))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
return 3;
|
2015-04-13 21:36:11 +02:00
|
|
|
>3 : number
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|