8f8fec433e
* Rename `--emitDeclarationsOnly` to `--renameDeclarationOnly` * Rename test files
16 lines
244 B
TypeScript
16 lines
244 B
TypeScript
// @declaration: true
|
|
// @emitDeclarationOnly: true
|
|
|
|
// @filename: helloworld.ts
|
|
const Log = {
|
|
info(msg: string) {}
|
|
}
|
|
|
|
class HelloWorld {
|
|
constructor(private name: string) {
|
|
}
|
|
|
|
public hello() {
|
|
Log.info(`Hello ${this.name}`);
|
|
}
|
|
}
|