Installation
npm install --save @types/scss-parser
Summary
This package contains type definitions for scss-parser (https://github.com/salesforce-ux/scss-parser).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/scss-parser.
index.d.ts
export interface InputStreamPosition {
cursor: number;
line: number;
column: number;
}
export interface Node {
type: string;
value: string | Node[];
start?: InputStreamPosition | undefined;
end?: InputStreamPosition | undefined;
}
export function parse(css: string): Node;
export function stringify(node: Node): string;
Additional Details
- Last updated: Tue, 07 Nov 2023 15:11:36 GMT
- Dependencies: none
Credits
These definitions were written by Wessel van der Linden.