fix(core): update

This commit is contained in:
2021-07-22 21:55:08 +02:00
parent dadd0b70b3
commit 38426a24bc
7 changed files with 14521 additions and 34 deletions

View File

@ -1,3 +1,18 @@
const myConst = 'hello';
const myConst: string = 'hello';
function sealed(constructor: Function) {
Object.seal(constructor);
Object.seal(constructor.prototype);
}
@sealed
class BugReport {
type = "report";
title: string;
constructor(t: string) {
this.title = t;
}
}
console.log(myConst);