Add typecheck + test + build to CI #4
Annotations
2 errors
|
test
Process completed with exit code 2.
|
|
test:
src/index.ts#L29
Argument of type '(() => Promise<{ content: { type: "text"; text: string; }[]; }>) | (({ workspacePath, environmentName, duplicateEnvironment, serviceVariables, }: CreateEnvironmentOptions) => Promise<{ content: { type: "text"; text: string; }[]; }>) | ... 10 more ... | (({ workspacePath, variables, service, environment, skipDeploys,...' is not assignable to parameter of type '((args: {}, extra: RequestHandlerExtra<ServerRequest, ServerNotification>) => { [x: string]: unknown; content: ({ [x: string]: unknown; text: string; type: "text"; _meta?: { ...; } | undefined; } | { ...; } | { ...; } | { ...; } | { ...; })[]; _meta?: { ...; } | undefined; structuredContent?: { ...; } | undefined; i...'.
|