Files
base/node_modules/inline-style-parser/index.d.ts
T
eewing ec317eb17c
CI / build (push) Has been skipped
CI / deploy (push) Successful in 1m11s
INIT
2026-02-18 15:17:47 -06:00

35 lines
527 B
TypeScript

interface Position {
start: {
line: number;
column: number;
};
end: {
line: number;
column: number;
};
source?: string;
}
export interface Declaration {
type: 'declaration';
property: string;
value: string;
position: Position;
}
export interface Comment {
type: 'comment';
comment: string;
position: Position;
}
interface Options {
source?: string;
silent?: boolean;
}
export default function InlineStyleParser(
style: string,
options?: Options
): (Declaration | Comment)[];