mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
23 lines
357 B
TypeScript
23 lines
357 B
TypeScript
//// [tests/cases/compiler/commentBeforeStaticMethod1.ts] ////
|
|
|
|
//// [commentBeforeStaticMethod1.ts]
|
|
class C {
|
|
/**
|
|
* Returns bar
|
|
*/
|
|
public static foo(): string {
|
|
return "bar";
|
|
}
|
|
}
|
|
|
|
//// [commentBeforeStaticMethod1.js]
|
|
"use strict";
|
|
class C {
|
|
/**
|
|
* Returns bar
|
|
*/
|
|
static foo() {
|
|
return "bar";
|
|
}
|
|
}
|