diff --git a/packages/protocol/src/common/helpers.ts b/packages/protocol/src/common/helpers.ts index b3c3e79b2..20d89dd08 100644 --- a/packages/protocol/src/common/helpers.ts +++ b/packages/protocol/src/common/helpers.ts @@ -7,7 +7,7 @@ import { logger } from "@coder/logger"; // tslint:disable no-any -export type ForkProvider = (modulePath: string, args: string[], options: ForkOptions, dataDir?: string) => ChildProcess; +export type ForkProvider = (modulePath: string, args: string[], options: ForkOptions) => ChildProcess; export interface Disposer extends IDisposable { onDidDispose: (cb: () => void) => void; diff --git a/packages/server/src/cli.ts b/packages/server/src/cli.ts index cf58c2554..070f0d1fb 100644 --- a/packages/server/src/cli.ts +++ b/packages/server/src/cli.ts @@ -162,7 +162,7 @@ export class Entry extends Command { builtInExtensionsDirectory: builtInExtensionsDir, dataDirectory: dataDir, workingDirectory: workingDir, - fork: (modulePath: string, args: string[], options: ForkOptions, dataDir?: string): ChildProcess => { + fork: (modulePath: string, args: string[], options: ForkOptions): ChildProcess => { if (options && options.env && options.env.AMD_ENTRYPOINT) { return forkModule(options.env.AMD_ENTRYPOINT, args, options, dataDir); }