We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 83e16fe + 7eeafff commit 97dbb86Copy full SHA for 97dbb86
index.d.ts
@@ -1,6 +1,5 @@
1
import { Plugin, RollupWarning } from 'rollup';
2
-
3
-interface PreprocessOptions extends Record<string, (...args: any[]) => void> {}
+import { PreprocessorGroup } from 'svelte/types/compiler/preprocess';
4
5
interface Css {
6
code: any;
@@ -55,7 +54,7 @@ interface Options {
55
54
* Optionally, preprocess components with svelte.preprocess:
56
* https://svelte.dev/docs#svelte_preprocess
57
*/
58
- preprocess?: PreprocessOptions;
+ preprocess?: PreprocessorGroup | PreprocessorGroup[];
59
// {
60
// style: ({ content }) => {
61
// return transformStyles(content);
0 commit comments