Files
vscode-theme-generator/language-examples/typescript.ts
2017-01-29 23:24:59 -08:00

28 lines
359 B
TypeScript

import { a } from 'some-file';
/**
* Comment
*/
class Example {
private static readonly _a: string = 'foo';
private _c: boolean = true;
private get a() {
return Example._a;
}
public b(arg1: number, arg2: boolean): string {
return `${arg1} ${arg2}`;
}
}
function someFunction(arg1, arg2) {
}
var a = {
a: 1,
b: 2,
"c": true
}