9
9
class NotExportedClassName
10
10
{
11
11
/**
12
- * Property of not exported class.
12
+ * Property of NotExportedClassName class.
13
13
*/
14
14
public notExportedProperty :string ;
15
15
16
16
17
17
/**
18
- * This is the constructor of the not exported class.
18
+ * This is the constructor of the NotExportedClassName class.
19
19
*/
20
20
constructor ( ) { }
21
21
22
22
23
23
/**
24
- * Method of not exported class.
24
+ * Method of NotExportedClassName class.
25
25
*/
26
26
public getNotExportedProperty ( ) :string {
27
27
return this . notExportedProperty ;
@@ -33,29 +33,30 @@ class NotExportedClassName
33
33
* This class is exported via es6 export syntax.
34
34
*
35
35
* ```
36
- * export default class SingleExportedClass
36
+ * export default class DefaultExportedClass
37
37
* ```
38
38
*/
39
- export default class SingleExportedClass
39
+ export default class DefaultExportedClass
40
40
{
41
41
/**
42
- * Property of exported class.
42
+ * Property of default exported class.
43
43
*/
44
44
public exportedProperty :string ;
45
45
46
46
47
47
/**
48
- * This is the constructor of the exported class.
48
+ * This is the constructor of the default exported class.
49
49
*/
50
50
constructor ( ) { }
51
51
52
52
53
53
/**
54
- * Method of exported class.
54
+ * Method of default exported class.
55
55
*/
56
56
public getExportedProperty ( ) :string {
57
57
return this . exportedProperty ;
58
58
}
59
59
}
60
60
61
+ // Rename class on export
61
62
export { NotExportedClassName as ExportedClassName } ;
0 commit comments