file cleanup

canary
WolverinDEV 2019-05-25 20:59:41 +02:00
parent cc2fdb3cf4
commit 11bb4ab218
2 changed files with 19 additions and 8 deletions

View File

@ -1,8 +0,0 @@
/* File: client/js/teaforo.ts */
declare namespace forum {
export function register_callback(callback: () => any);
export function open();
export function logout();
export function sync_main();
}

View File

@ -0,0 +1,19 @@
function f() {
console.log("f(): evaluated");
return function (target, propertyKey: string, descriptor: PropertyDescriptor) {
console.log("f(): called");
}
}
function g() {
console.log("g(): evaluated");
return function (target, propertyKey: string, descriptor: PropertyDescriptor) {
console.log("g(): called");
}
}
class C {
@f()
@g()
method() {}
}