Website Summary Files Commits Branches @commit @diff @stats
path: root / homework / 81352 / ts2html-hw2 / example.ts
diff options
context:
space:
mode:
1 files changed, 15 insertions, 0 deletions
-rw-r--r--homework/81352/ts2html-hw2/example.ts15
diff --git a/homework/81352/ts2html-hw2/example.ts b/homework/81352/ts2html-hw2/example.ts
new file mode 100644
index 0000000..01848c6
--- /dev/null
+++ b/homework/81352/ts2html-hw2/example.ts
@@ -0,0 +1,15 @@
+@Decorator()
+class A {
+ public a?: string;
+ public b?: A;
+ public func = (): string => {
+ return this.a;
+ }
+}
+
+// comment
+const x = "hello" + " " + "world" + 1;
+
+{
+ const b = 3;
+} \ No newline at end of file