@types/scss-parser
TypeScript icon, indicating that this package has built-in type declarations

1.0.4 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/scss-parser

Weekly Downloads

368

Version

1.0.4

License

MIT

Unpacked Size

3.31 kB

Total Files

5

Last publish

Collaborators

  • types