INIT
This commit is contained in:
+34
@@ -0,0 +1,34 @@
|
||||
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)[];
|
||||
Reference in New Issue
Block a user