My dotfiles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

6 lines
493 B

  1. import { Edit, FormattingOptions, JSONPath } from './main';
  2. export declare function removeProperty(text: string, path: JSONPath, formattingOptions: FormattingOptions): Edit[];
  3. export declare function setProperty(text: string, path: JSONPath, value: any, formattingOptions: FormattingOptions, getInsertionIndex?: (properties: string[]) => number): Edit[];
  4. export declare function applyEdit(text: string, edit: Edit): string;
  5. export declare function isWS(text: string, offset: number): boolean;