-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(ci): Fix
publish-npm-package
action (#9461)
**Related issue:** - Closes #9457
- Loading branch information
Showing
5 changed files
with
387 additions
and
316 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,71 +1,46 @@ | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
|
||
/* auto-generated by NAPI-RS */ | ||
/* eslint-disable */ | ||
|
||
export interface Diagnostic { | ||
level: string; | ||
message: string; | ||
span: any; | ||
} | ||
export interface TransformOutput { | ||
code: string; | ||
errors?: Array<Diagnostic>; | ||
} | ||
export interface Attribute { | ||
namespace?: string; | ||
prefix?: string; | ||
name: string; | ||
value?: string; | ||
} | ||
export interface Element { | ||
tagName: string; | ||
namespace: string; | ||
attributes: Array<Attribute>; | ||
isSelfClosing: boolean; | ||
} | ||
export function minify( | ||
code: Buffer, | ||
opts: Buffer, | ||
signal?: AbortSignal | undefined | null | ||
): Promise<TransformOutput>; | ||
export function minifyFragment( | ||
code: Buffer, | ||
opts: Buffer, | ||
signal?: AbortSignal | undefined | null | ||
): Promise<TransformOutput>; | ||
export function minifySync(code: Buffer, opts: Buffer): TransformOutput; | ||
export function minifyFragmentSync(code: Buffer, opts: Buffer): TransformOutput; | ||
|
||
export interface Diagnostic { | ||
level: string; | ||
message: string; | ||
span: any; | ||
} | ||
export interface TransformOutput { | ||
code: string; | ||
errors?: Array<Diagnostic>; | ||
} | ||
export interface Attribute { | ||
namespace?: string; | ||
prefix?: string; | ||
name: string; | ||
value?: string; | ||
} | ||
|
||
export interface Element { | ||
tagName: string; | ||
namespace: string; | ||
attributes: Array<Attribute>; | ||
isSelfClosing: boolean; | ||
} | ||
export function minify( | ||
|
||
export declare function minify( | ||
code: Buffer, | ||
opts: Buffer, | ||
signal?: AbortSignal | undefined | null | ||
): Promise<TransformOutput>; | ||
export function minifyFragment( | ||
|
||
export declare function minifyFragment( | ||
code: Buffer, | ||
opts: Buffer, | ||
signal?: AbortSignal | undefined | null | ||
): Promise<TransformOutput>; | ||
export function minifySync(code: Buffer, opts: Buffer): TransformOutput; | ||
export function minifyFragmentSync(code: Buffer, opts: Buffer): TransformOutput; | ||
|
||
export declare function minifyFragmentSync( | ||
code: Buffer, | ||
opts: Buffer | ||
): TransformOutput; | ||
|
||
export declare function minifySync(code: Buffer, opts: Buffer): TransformOutput; | ||
|
||
export interface TransformOutput { | ||
code: string; | ||
errors?: Array<Diagnostic>; | ||
} |
Oops, something went wrong.