mirror of
https://github.com/Tyriar/vscode-theme-generator.git
synced 2025-12-07 09:36:11 -08:00
Refine ts example
This commit is contained in:
@@ -1,3 +1,19 @@
|
|||||||
|
// An exceptionally useful comment
|
||||||
|
function func(param: string): object {
|
||||||
|
var text = 'string';
|
||||||
|
for (var i = 0; i < param.length; i++) {
|
||||||
|
text += i;
|
||||||
|
}
|
||||||
|
var number = 0;
|
||||||
|
var templateLiterals = `a ${text} b ${1 + 2} c`;
|
||||||
|
return {
|
||||||
|
"text": text,
|
||||||
|
"boolean": false,
|
||||||
|
"number": 231
|
||||||
|
};
|
||||||
|
}
|
||||||
|
func('abc');
|
||||||
|
|
||||||
import { a } from 'some-file';
|
import { a } from 'some-file';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user