Skip to content

Commit 098e3d2

Browse files
committed
feat: 更新 typings
1 parent 6f4a2d9 commit 098e3d2

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

index.d.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,15 @@
33

44
/* auto-generated by NAPI-RS */
55

6+
export interface OutputOptions {
7+
isBin?: boolean
8+
}
69
export interface ParseOptions {
710
platformString: string
11+
output?: OutputOptions
812
}
913
export interface ParseResult {
10-
code: string
14+
code?: string
15+
buffer?: Buffer
1116
}
1217
export declare function parse(styles: Array<string>, options: ParseOptions): ParseResult

0 commit comments

Comments
 (0)