Skip to content

lspeasy / core/src / TextDocumentContentChangeEventSchema

Variable: TextDocumentContentChangeEventSchema

ts
const TextDocumentContentChangeEventSchema: ZodUnion<readonly [ZodObject<{
  range: ZodObject<{
     end: ZodObject<{
        character: ZodNumber;
        line: ZodNumber;
     }, $strip>;
     start: ZodObject<{
        character: ZodNumber;
        line: ZodNumber;
     }, $strip>;
  }, $strip>;
  rangeLength: ZodOptional<ZodNumber>;
  text: ZodString;
}, $strip>, ZodObject<{
  text: ZodString;
}, $strip>]>;

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

Released under the MIT License.