From 72e80f637d7f3b92d3a0ac7f76c4f2ec15eb85cc Mon Sep 17 00:00:00 2001 From: Dominik Pschenitschni Date: Fri, 6 Jan 2023 09:27:55 +0000 Subject: [PATCH] feat(postcss): mock plugin types (#2930) Co-authored-by: Dominik Pschenitschni Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/2930 Co-authored-by: Dominik Pschenitschni Co-committed-by: Dominik Pschenitschni --- env.config.d.ts | 9 +++++++++ tsconfig.config.json | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 env.config.d.ts diff --git a/env.config.d.ts b/env.config.d.ts new file mode 100644 index 00000000..754c3185 --- /dev/null +++ b/env.config.d.ts @@ -0,0 +1,9 @@ +declare module 'postcss-easings' { + import postcssEasings from 'postcss-easings' + export default postcssEasings +} + +declare module 'postcss-easing-gradients' { + import postcssEasingGradients from 'postcss-easing-gradients' + export default postcssEasingGradients +} \ No newline at end of file diff --git a/tsconfig.config.json b/tsconfig.config.json index bd728b2e..70f4a37f 100644 --- a/tsconfig.config.json +++ b/tsconfig.config.json @@ -1,6 +1,6 @@ { "extends": "@vue/tsconfig/tsconfig.node.json", - "include": ["vite.config.*", "vitest.config.*", "cypress.config.*"], + "include": ["vite.config.*", "vitest.config.*", "cypress.config.*", "env.config.d.ts"], "compilerOptions": { "composite": true, "types": ["node"]