-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.ts
34 lines (30 loc) · 1.36 KB
/
app.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
import {runVarsTypes} from "./vars&types";
import {runFunctions} from "./functions";
import {runArraysEnum} from "./arrays&enum";
import {runObjects} from "./objects";
import {runOop} from "./OOP";
import {runInterfaces} from "./interfaces";
import {runTypeAssertion} from "./type_assertion";
import {runGenerics} from "./generics";
import {runMixins} from "./mixins";
import * as personalData from "./namespaces";
import {runDecorators} from "./decorators.js";
if (typeof window === "object") {
let header = document.getElementById("header");
header = <HTMLElement>document.getElementById("header");
header = document.getElementById("header") as HTMLElement;
header!.innerText = `Hello User!`;
}
/*console.log("\n --- vars & types ---"); runVarsTypes();
console.log("\n --- functions ---"); runFunctions();
console.log("\n --- arrays & enums ---"); runArraysEnum();
console.log("\n --- objects ---"); runObjects();
console.log("\n --- OOP ---"); runOop();
console.log("\n --- interfaces ---"); runInterfaces();
console.log("\n --- type assertion ---"); runTypeAssertion();*/
//console.log("\n --- generics ---"); runGenerics();
//console.log("\n --- mixins ---"); runMixins();
//console.log("\n --- namespaces ---");
//let manager = personalData.Personnel.Manager;
//let garry = new manager();
console.log("\n --- decorators ---"); runDecorators();