summaryrefslogtreecommitdiffstats
path: root/tests/index.ts
diff options
context:
space:
mode:
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