Skip to content

lspeasy / core/src / CompletionParamsSchema

Variable: CompletionParamsSchema

ts
const CompletionParamsSchema: ZodObject<{
  context: ZodOptional<ZodObject<{
     triggerCharacter: ZodOptional<ZodString>;
     triggerKind: ZodNumber;
  }, $strip>>;
  partialResultToken: ZodOptional<ZodUnion<readonly [ZodString, ZodNumber]>>;
  position: ZodObject<{
     character: ZodNumber;
     line: ZodNumber;
  }, $strip>;
  textDocument: ZodObject<{
     uri: ZodString;
  }, $strip>;
  workDoneToken: ZodOptional<ZodUnion<readonly [ZodString, ZodNumber]>>;
}, $strip>;

Defined in: packages/core/src/protocol/schemas.ts:116

Completion params

Released under the MIT License.