summaryrefslogtreecommitdiffstats
path: root/tests/index.ts
blob: 14c4efeddec54c0ef29778fce036982ac9e70944 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import { bind, debounce, memoize } from '..';
class C {
    @bind
    foo() { }

    @debounce
    moo() { }

    @debounce(1000)
    mooWithCustomDelay() { }

    @memoize
    mem() { }

    @memoize(true)
    memWithConfig() { }
}