30 lines
358 B
TypeScript
30 lines
358 B
TypeScript
//// [es6-umd2.ts]
|
|
|
|
export class A
|
|
{
|
|
constructor ()
|
|
{
|
|
|
|
}
|
|
|
|
public B()
|
|
{
|
|
return 42;
|
|
}
|
|
}
|
|
|
|
//// [es6-umd2.js]
|
|
export class A {
|
|
constructor() {
|
|
}
|
|
B() {
|
|
return 42;
|
|
}
|
|
}
|
|
//# sourceMappingURL=es6-umd2.js.map
|
|
|
|
//// [es6-umd2.d.ts]
|
|
export declare class A {
|
|
constructor();
|
|
B(): number;
|
|
}
|