From db4da24d1a15d635c04b61953442a957a18fe24c Mon Sep 17 00:00:00 2001 From: Sachin Raja Date: Fri, 30 Dec 2022 09:27:06 -0800 Subject: [PATCH] fix typescript autocompletion --- .changeset/big-adults-cough.md | 5 +++++ packages/components/src/editor/extensions.ts | 1 - pnpm-lock.yaml | 6 +++--- 3 files changed, 8 insertions(+), 4 deletions(-) create mode 100644 .changeset/big-adults-cough.md diff --git a/.changeset/big-adults-cough.md b/.changeset/big-adults-cough.md new file mode 100644 index 0000000..0f7df7e --- /dev/null +++ b/.changeset/big-adults-cough.md @@ -0,0 +1,5 @@ +--- +"@trpc-playground/components": patch +--- + +fix typescript autocompletion diff --git a/packages/components/src/editor/extensions.ts b/packages/components/src/editor/extensions.ts index 90ec727..f10f484 100644 --- a/packages/components/src/editor/extensions.ts +++ b/packages/components/src/editor/extensions.ts @@ -28,7 +28,6 @@ const basicSetup: Extension = [ indentOnInput(), bracketMatching(), closeBrackets(), - autocompletion(), rectangularSelection(), highlightActiveLine(), highlightSelectionMatches(), diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6f2fda6..ad6069b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -41,7 +41,7 @@ importers: '@trpc/server': 10.5.0 '@types/express': 4.17.15 express: 4.18.2 - trpc-playground: workspace:1.0.1 + trpc-playground: workspace:1.0.3 tsx: 3.12.1 dependencies: '@trpc/server': 10.5.0 @@ -57,7 +57,7 @@ importers: next: 13.0.7 react: 18.2.0 react-dom: 18.2.0 - trpc-playground: workspace:1.0.1 + trpc-playground: workspace:1.0.3 dependencies: '@trpc/server': 10.5.0 next: 13.0.7_biqbaboplfbrettd7655fr4n2y @@ -89,7 +89,7 @@ importers: postcss: 8.4.20 postcss-prefix-selector: 1.16.0 tailwindcss: 3.2.4 - trpc-playground: workspace:1.0.1 + trpc-playground: workspace:1.0.3 tsx: 3.12.1 vite: 4.0.1 zod: 3.20.2