This commit is contained in:
parent
7a9bf3199a
commit
c294e2e9ae
5702 changed files with 465039 additions and 34 deletions
13
node_modules/napi-postinstall/lib/helpers.d.ts
generated
vendored
Normal file
13
node_modules/napi-postinstall/lib/helpers.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
import type { NapiInfo, PackageJson } from './types.js';
|
||||
export declare function getGlobalNpmRegistry(): string;
|
||||
export declare function removeRecursive(dir: string): void;
|
||||
export declare function downloadedNodePath(name: string, subpath: string): string;
|
||||
export declare function getNapiInfoFromPackageJson(packageJson: PackageJson, checkVersion: true): NapiInfo & {
|
||||
version: string;
|
||||
};
|
||||
export declare function getNapiInfoFromPackageJson(packageJson: PackageJson, checkVersion?: boolean): NapiInfo;
|
||||
export declare function getNapiNativeTarget(): string[] | string;
|
||||
export declare function getNapiNativeTargets(): string[];
|
||||
export declare function getErrorMessage(err: unknown): string;
|
||||
export declare function errorLog(message: string, ...args: unknown[]): void;
|
||||
export declare function errorMessage(message: string, extra?: string): string;
|
||||
Loading…
Add table
Add a link
Reference in a new issue