We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f50dc2 commit d0f3817Copy full SHA for d0f3817
index.d.ts
@@ -1,15 +1,17 @@
1
import type { PluginCreator, AtRule } from 'postcss'
2
3
-export type MixinOutput = Record<string, string | MixinOutput>
+declare interface MixinOutput {
4
+ [key: string]: string | MixinOutput
5
+}
6
-export interface Mixin {
7
+declare interface Mixin {
8
(mixinAtRule: AtRule, ...args: string[])
9
}
10
-export type Mixins = Record<string, MixinOutput | Mixin>
11
+declare type Mixins = Record<string, MixinOutput | Mixin>
12
13
declare const mixins: PluginCreator<{
- mixins: Mixins
14
+ mixins?: Mixins
15
mixinsDir?: string | string[]
16
mixinsFiles?: string | string[]
17
silent?: boolean
0 commit comments