file cleanup
This commit is contained in:
parent
cc2fdb3cf4
commit
11bb4ab218
2 changed files with 19 additions and 8 deletions
8
client/declarations/exports.d.ts
vendored
8
client/declarations/exports.d.ts
vendored
|
@ -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();
|
||||
}
|
19
tools/dtsgen/test/test_o6.ts
Normal file
19
tools/dtsgen/test/test_o6.ts
Normal 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() {}
|
||||
}
|
Loading…
Add table
Reference in a new issue