Skip to content

lspeasy / core/src / DidChangeTextDocumentParamsSchema

Variable: DidChangeTextDocumentParamsSchema

ts
const DidChangeTextDocumentParamsSchema: ZodObject<{
  contentChanges: ZodArray<ZodUnion<readonly [ZodObject<{
     range: ZodObject<{
        end: ZodObject<{
           character: ...;
           line: ...;
        }, $strip>;
        start: ZodObject<{
           character: ...;
           line: ...;
        }, $strip>;
     }, $strip>;
     rangeLength: ZodOptional<ZodNumber>;
     text: ZodString;
   }, $strip>, ZodObject<{
     text: ZodString;
  }, $strip>]>>;
  textDocument: ZodObject<{
     uri: ZodString;
     version: ZodNumber;
  }, $strip>;
}, $strip>;

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

Did change text document params

Released under the MIT License.