Skip to content

Commit

Permalink
Export the usable functions from the vscode json-edit file
Browse files Browse the repository at this point in the history
  • Loading branch information
bartlangelaan committed Oct 23, 2023
1 parent 0642bb6 commit b1f6b3c
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { applyEdits, setProperty } from "vs/base/common/jsonEdit";
import { FormattingOptions, getEOL } from "vs/base/common/jsonFormatter";
import { DefaultEndOfLine } from "vs/editor/common/model";
import { guessIndentation } from "vs/editor/common/model/indentationGuesser";
Expand Down Expand Up @@ -31,9 +30,8 @@ export function getFormattingOptions(originalJson: string): FormattingOptions {
}

export {
applyEdit,
applyEdits,
createTextBufferFactory,
getEOL,
guessIndentation,
removeProperty,
setProperty,
};
} from "vs/base/common/jsonEdit";

0 comments on commit b1f6b3c

Please sign in to comment.