2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/commentsOnStaticMembers.ts ===
|
|
|
|
|
|
|
|
class test {
|
2015-04-16 01:44:20 +02:00
|
|
|
>test : test
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* p1 comment appears in output
|
|
|
|
*/
|
|
|
|
public static p1: string = "";
|
2015-04-16 01:44:20 +02:00
|
|
|
>p1 : string
|
2015-04-13 21:36:11 +02:00
|
|
|
>"" : string
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* p2 comment does not appear in output
|
|
|
|
*/
|
|
|
|
public static p2: string;
|
2015-04-16 01:44:20 +02:00
|
|
|
>p2 : string
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* p3 comment appears in output
|
|
|
|
*/
|
|
|
|
private static p3: string = "";
|
2015-04-16 01:44:20 +02:00
|
|
|
>p3 : string
|
2015-04-13 21:36:11 +02:00
|
|
|
>"" : string
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* p4 comment does not appear in output
|
|
|
|
*/
|
|
|
|
private static p4: string;
|
2015-04-16 01:44:20 +02:00
|
|
|
>p4 : string
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|