chore: default tabs

This commit is contained in:
Nathan Walker
2020-07-09 23:46:02 -07:00
parent 8100cf7089
commit 41f0573d8e
353 changed files with 55344 additions and 55344 deletions

View File

@@ -1,33 +1,33 @@
export interface Position {
start: { line: number; column: number };
end: { line: number; column: number };
start: { line: number; column: number };
end: { line: number; column: number };
}
export interface Node {
type: 'rule' | 'keyframes' | 'declaration' | 'import';
position: Position;
type: 'rule' | 'keyframes' | 'declaration' | 'import';
position: Position;
}
export interface Declaration extends Node {
property: string;
value: string;
property: string;
value: string;
}
export interface Rule extends Node {
selectors: string[];
declarations: Node[];
selectors: string[];
declarations: Node[];
}
export interface Keyframes extends Rule {
name: string;
name: string;
}
export interface StyleSheet {
rules: Node[];
rules: Node[];
}
export interface SyntaxTree {
stylesheet: StyleSheet;
stylesheet: StyleSheet;
}
export function parse(css: string, options: any): SyntaxTree;