diff options
Diffstat (limited to 'cli/tests/config.ts')
-rw-r--r-- | cli/tests/config.ts | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/cli/tests/config.ts b/cli/tests/config.ts index e08061e77..6b1cb7322 100644 --- a/cli/tests/config.ts +++ b/cli/tests/config.ts @@ -1,5 +1,17 @@ -const map = new Map<string, { foo: string }>(); +/* eslint-disable */ +function b() { + return function ( + _target: any, + _propertyKey: string, + _descriptor: PropertyDescriptor, + ) { + console.log("b"); + }; +} -if (map.get("bar").foo) { - console.log("here"); +class A { + @b() + a() { + console.log("a"); + } } |