1
0
Fork 0

🚧 Wrestling with TypeScript

This commit is contained in:
Joost De Cock 2018-07-22 20:43:42 +02:00
parent f4d2785972
commit 2dbebb87d6
7 changed files with 16 additions and 22 deletions

View file

@ -1,7 +1,7 @@
export class Attributes {
list: any = {};
constructor(init) {
constructor(init?) {
for (let key in init) {
let val = init[key];
this.add(key, val);