/
index.d.ts
51 lines (41 loc) · 1000 Bytes
/
index.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
declare module 'postcss/lib/comment' {
import { Comment, NodeRaws } from 'postcss';
interface NodeRawsExt extends NodeRaws {
// Used by the SCSS parser to indicate `//` comments.
inline?: boolean;
}
interface CommentExt extends Comment {
// Used by the Less parser to indicate `//` comments.
inline?: boolean;
raws: NodeRawsExt;
}
export = CommentExt;
}
declare module 'postcss/lib/lazy-result' {
import {
LazyResult,
Result,
Processor,
ResultMap,
ResultMessage,
ResultOptions,
Root,
Warning,
} from 'postcss';
class LazyResultImpl extends Promise<Result> implements LazyResult {
constructor(p: Processor, code: string, options: { from?: string; syntax: any });
content: string;
css: string;
map: ResultMap;
messages: ResultMessage[];
opts: ResultOptions;
processor: Processor;
root: Root;
warnings(): Warning[];
}
export = LazyResultImpl;
}
declare module 'postcss/lib/result' {
import { Result } from 'postcss';
export = Result;
}