Packages

A web application in pursuit of meaning in life.

Retired package: Complete rewrite, scratch old versions

Current section

Files

Jump to
udia assets node_modules postcss d.ts parse.d.ts
Raw

assets/node_modules/postcss/d.ts/parse.d.ts

import LazyResult from './lazy-result';
import * as postcss from './postcss';
import Result from './result';
import Root from './root';
/**
* Parses source CSS.
* @param css The CSS to parse.
* @param options
* @returns {} A new Root node, which contains the source CSS nodes.
*/
declare function parse(css: string | {
toString(): string;
} | LazyResult | Result, options?: {
from?: string;
map?: postcss.SourceMapOptions;
}): Root;
declare module parse {
var parse: postcss.Syntax | postcss.Parse;
}
export default parse;