From 098e3d23aba86b69ac277b655bd42bdc62d05e50 Mon Sep 17 00:00:00 2001 From: luckyadam Date: Tue, 3 Dec 2024 11:29:46 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9B=B4=E6=96=B0=20typings?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.d.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index 31309de..b0865d3 100644 --- a/index.d.ts +++ b/index.d.ts @@ -3,10 +3,15 @@ /* auto-generated by NAPI-RS */ +export interface OutputOptions { + isBin?: boolean +} export interface ParseOptions { platformString: string + output?: OutputOptions } export interface ParseResult { - code: string + code?: string + buffer?: Buffer } export declare function parse(styles: Array, options: ParseOptions): ParseResult