prettier
This commit is contained in:
parent
8ffe833f40
commit
b44c4f90dc
2 changed files with 4 additions and 6 deletions
|
|
@ -28,12 +28,10 @@ export interface UserConfig {
|
|||
content?: ContentFile[] | { files: ContentFile[] }
|
||||
}
|
||||
|
||||
type ResolvedContent =
|
||||
| { base: string, pattern: string }
|
||||
| { raw: string; extension?: string }
|
||||
type ResolvedContent = { base: string; pattern: string } | { raw: string; extension?: string }
|
||||
|
||||
export interface ResolvedContentConfig {
|
||||
files: ResolvedContent[],
|
||||
files: ResolvedContent[]
|
||||
}
|
||||
|
||||
export interface ResolvedConfig {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import type { PluginAPI } from "../plugin-api"
|
||||
import type { ResolvedConfig } from "./config/types"
|
||||
import type { PluginAPI } from '../plugin-api'
|
||||
import type { ResolvedConfig } from './config/types'
|
||||
|
||||
export function darkModePlugin({ addVariant, config }: PluginAPI) {
|
||||
let darkMode = config('darkMode', null) as ResolvedConfig['darkMode']
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue