askirmas/postcss-d-ts

View on GitHub
src/$defs.types.ts

Summary

Maintainability
A
0 mins
Test Coverage
import type {Rule} from "postcss8"

export type CollectingArg = Pick<Rule, "selectors"> & {
  parent?: {type?: string; name?: string}
}

export type InternalOptions = {
  identifierParser: RegExp
  identifierCleanupParser: RegExp
  templateContent: string[]
  allowedAtRuleNames: Set<string>
  checkMode: boolean
}

export type WithSource = {
  source?: {input: {file?: string}}
}