diff --git a/packages/nx/src/native/index.d.ts b/packages/nx/src/native/index.d.ts index 69edd46688..08db4c09cf 100644 --- a/packages/nx/src/native/index.d.ts +++ b/packages/nx/src/native/index.d.ts @@ -144,11 +144,11 @@ export interface CachedResult { size?: number } -export declare export declare function closeDbConnection(connection: ExternalObject): void +export declare export function closeDbConnection(connection: ExternalObject): void -export declare export declare function connectToNxDb(cacheDir: string, nxVersion: string, dbName?: string | undefined | null): ExternalObject +export declare export function connectToNxDb(cacheDir: string, nxVersion: string, dbName?: string | undefined | null): ExternalObject -export declare export declare function copy(src: string, dest: string): number +export declare export function copy(src: string, dest: string): number export interface DepsOutputsInput { dependentTasksOutputFiles: string @@ -165,7 +165,7 @@ export declare const enum EventType { create = 'create' } -export declare export declare function expandOutputs(directory: string, entries: Array): Array +export declare export function expandOutputs(directory: string, entries: Array): Array export interface ExternalDependenciesInput { externalDependencies: Array @@ -191,21 +191,21 @@ export interface FileSetInput { fileset: string } -export declare export declare function findImports(projectFileMap: Record>): Array +export declare export function findImports(projectFileMap: Record>): Array -export declare export declare function getBinaryTarget(): string +export declare export function getBinaryTarget(): string -export declare export declare function getDefaultMaxCacheSize(cachePath: string): number +export declare export function getDefaultMaxCacheSize(cachePath: string): number /** * Expands the given outputs into a list of existing files. * This is used when hashing outputs */ -export declare export declare function getFilesForOutputs(directory: string, entries: Array): Array +export declare export function getFilesForOutputs(directory: string, entries: Array): Array -export declare export declare function getTransformableOutputs(outputs: Array): Array +export declare export function getTransformableOutputs(outputs: Array): Array -export declare export declare function hashArray(input: Array): string +export declare export function hashArray(input: Array): string export interface HashDetails { value: string @@ -223,7 +223,7 @@ export interface HasherOptions { selectivelyHashTsConfig: boolean } -export declare export declare function hashFile(file: string): string | null +export declare export function hashFile(file: string): string | null export interface InputsInput { input: string @@ -263,9 +263,9 @@ export interface ProjectGraph { externalNodes: Record } -export declare export declare function remove(src: string): void +export declare export function remove(src: string): void -export declare export declare function restoreTerminal(): void +export declare export function restoreTerminal(): void export interface RuntimeInput { runtime: string @@ -317,13 +317,13 @@ export interface TaskTarget { configuration?: string } -export declare export declare function testOnlyTransferFileMap(projectFiles: Record>, nonProjectFiles: Array): NxWorkspaceFilesExternals +export declare export function testOnlyTransferFileMap(projectFiles: Record>, nonProjectFiles: Array): NxWorkspaceFilesExternals /** * Transfer the project graph from the JS world to the Rust world, so that we can pass the project graph via memory quicker * This wont be needed once the project graph is created in Rust */ -export declare export declare function transferProjectGraph(projectGraph: ProjectGraph): ExternalObject +export declare export function transferProjectGraph(projectGraph: ProjectGraph): ExternalObject export interface TuiCliArgs { targets?: string[] | undefined @@ -339,7 +339,7 @@ export interface UpdatedWorkspaceFiles { externalReferences: NxWorkspaceFilesExternals } -export declare export declare function validateOutputs(outputs: Array): void +export declare export function validateOutputs(outputs: Array): void export interface WatchEvent { path: string