From e8be116ab6d06bed764ad9b6cb253d8de36ae73d Mon Sep 17 00:00:00 2001 From: Kitson Kelly Date: Sat, 5 Jun 2021 07:31:44 +1000 Subject: fix(lsp): refactor, fix issues and add benchmark for code lens (#10841) --- cli/bench/fixtures/code_lens.ts | 56 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 cli/bench/fixtures/code_lens.ts (limited to 'cli/bench/fixtures') diff --git a/cli/bench/fixtures/code_lens.ts b/cli/bench/fixtures/code_lens.ts new file mode 100644 index 000000000..0822e31c4 --- /dev/null +++ b/cli/bench/fixtures/code_lens.ts @@ -0,0 +1,56 @@ +interface A { + a: string; +} + +interface B { + b: string; +} + +interface C { + c: string; +} + +interface D { + d: string; +} + +interface E { + e: string; +} + +interface F { + f: string; +} + +interface G { + g: string; +} + +interface H { + h: string; +} + +class AB implements A, B { + a = "a"; + b = "b"; +} + +class CD implements C, D { + c = "c"; + d = "d"; +} + +class EF implements E, F { + e = "e"; + f = "f"; +} + +class GH implements G, H { + g = "g"; + h = "h"; +} + +new AB().a; +new CD().c; +new EF().e; +new GH().g; -- cgit v1.2.3