summaryrefslogtreecommitdiffstats
path: root/tests/index.ts
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2021-11-20 06:45:41 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2021-11-20 06:45:41 +0000
commit9d45e42dc0298ea8241132142d3100358fe99dc4 (patch)
tree8435105a23089a82f8298490dff6e3e4218930b4 /tests/index.ts
parentInitial commit. (diff)
downloaddecko-9d45e42dc0298ea8241132142d3100358fe99dc4.tar.xz
decko-9d45e42dc0298ea8241132142d3100358fe99dc4.zip
Adding upstream version 1.2.0.upstream/1.2.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/index.ts')
-rw-r--r--tests/index.ts17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/index.ts b/tests/index.ts
new file mode 100644
index 0000000..14c4efe
--- /dev/null
+++ b/tests/index.ts
@@ -0,0 +1,17 @@
+import { bind, debounce, memoize } from '..';
+class C {
+ @bind
+ foo() { }
+
+ @debounce
+ moo() { }
+
+ @debounce(1000)
+ mooWithCustomDelay() { }
+
+ @memoize
+ mem() { }
+
+ @memoize(true)
+ memWithConfig() { }
+} \ No newline at end of file