summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/config.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/testdata/config.ts')
-rw-r--r--cli/tests/testdata/config.ts18
1 files changed, 18 insertions, 0 deletions
diff --git a/cli/tests/testdata/config.ts b/cli/tests/testdata/config.ts
new file mode 100644
index 000000000..cd7a1b33f
--- /dev/null
+++ b/cli/tests/testdata/config.ts
@@ -0,0 +1,18 @@
+// deno-lint-ignore-file
+
+function b() {
+ return function (
+ _target: any,
+ _propertyKey: string,
+ _descriptor: PropertyDescriptor,
+ ) {
+ console.log("b");
+ };
+}
+
+class A {
+ @b()
+ a() {
+ console.log("a");
+ }
+}