Closed masaori closed 1 year ago
Type definition
type argValues = '-cors' | '-dbPath' | '-delayTransientStatuses' | '-help' | '-inMemory' | '-optimizeDbBeforeStartup' | '-port' | '-sharedDb'; export function launch(portNumber: number, dbPath?: string | null, args?: argValues[], verbose?: boolean, detached?: any, javaOpts?: string): Promise<ChildProcess>;
Typescript regard as a type error when I specify the value for -dbPath in args array.
args
How can I specify the path for the db file?
Sorry I misunderstood the signature of that function. Will close.
Type definition
Typescript regard as a type error when I specify the value for -dbPath in
args
array.How can I specify the path for the db file?