mirror of
https://github.com/tabler/tabler.git
synced 2026-08-06 19:32:22 +04:00
cad8eb8c91
Co-authored-by: codecalm <codecalm@gmail.com>
25 lines
795 B
TypeScript
25 lines
795 B
TypeScript
// Minimal ambient typings for build-tool dependencies that ship no types.
|
|
// Only the surface used by .build/build-css.ts is declared.
|
|
declare module 'rtlcss' {
|
|
import type { Plugin } from 'postcss'
|
|
export default function rtlcss(config?: unknown): Plugin
|
|
}
|
|
|
|
declare module 'postcss-prefix-custom-properties' {
|
|
import type { Plugin } from 'postcss'
|
|
export default function prefixCustomProperties(options?: { prefix?: string; ignore?: (string | RegExp)[] }): Plugin
|
|
}
|
|
|
|
declare module 'clean-css' {
|
|
interface MinifyResult {
|
|
styles: string
|
|
errors: string[]
|
|
warnings: string[]
|
|
sourceMap: { toString(): string }
|
|
}
|
|
export default class CleanCSS {
|
|
constructor(options: Record<string, unknown>)
|
|
minify(input: string[]): Promise<Record<string, MinifyResult>>
|
|
}
|
|
}
|