2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/commentBeforeStaticMethod1.ts ===
|
|
|
|
class C {
|
2015-04-13 23:01:57 +02:00
|
|
|
>C : C, Symbol(C, Decl(commentBeforeStaticMethod1.ts, 0, 0))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Returns bar
|
|
|
|
*/
|
|
|
|
public static foo(): string {
|
2015-04-13 23:01:57 +02:00
|
|
|
>foo : () => string, Symbol(C.foo, Decl(commentBeforeStaticMethod1.ts, 0, 9))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
return "bar";
|
2015-04-13 21:36:11 +02:00
|
|
|
>"bar" : string
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|
|
|
|
}
|