1
0
Fork 0
decko/tests/index.ts

17 lines
232 B
TypeScript
Raw Normal View History

import { bind, debounce, memoize } from '..';
class C {
@bind
foo() { }
@debounce
moo() { }
@debounce(1000)
mooWithCustomDelay() { }
@memoize
mem() { }
@memoize(true)
memWithConfig() { }
}