summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/config.ts
diff options
context:
space:
mode:
authorNayeem Rahman <nayeemrmn99@gmail.com>2022-07-20 15:59:56 +0100
committerGitHub <noreply@github.com>2022-07-20 16:59:56 +0200
commit6e350b2b7c7b027b31694875cdb423f494d1b423 (patch)
tree74fa23b0a55600b08bb3fbc5ba60f2630e2b6c35 /cli/tests/testdata/config.ts
parentd17b3906bf3a0871d54e9fdc009891e378dc45f5 (diff)
chore(cli): Ignore "experimentalDecorators" and "moduleDetection" options (#15202)
Diffstat (limited to 'cli/tests/testdata/config.ts')
-rw-r--r--cli/tests/testdata/config.ts19
1 files changed, 3 insertions, 16 deletions
diff --git a/cli/tests/testdata/config.ts b/cli/tests/testdata/config.ts
index cd7a1b33f..51a61e447 100644
--- a/cli/tests/testdata/config.ts
+++ b/cli/tests/testdata/config.ts
@@ -1,18 +1,5 @@
-// deno-lint-ignore-file
-
-function b() {
- return function (
- _target: any,
- _propertyKey: string,
- _descriptor: PropertyDescriptor,
- ) {
- console.log("b");
- };
+function foo(bar) {
+ return bar;
}
-class A {
- @b()
- a() {
- console.log("a");
- }
-}
+foo(1);