Update src/services/formatting/README.md

Co-Authored-By: Andrew Branch <andrewbranch@users.noreply.github.com>
This commit is contained in:
Orta 2019-06-24 17:08:34 -07:00 committed by GitHub
parent 3f9395be39
commit 0a272e04ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,7 @@
# How does TypeScript formatting work?
To format code you need to have a formatting context and a `SourceFile`. The formatting context contains
all user settings like tab size, newline character, etc. The sourcefile is self explanatory.
all user settings like tab size, newline character, etc.
The end result of formatting is represented by TextChange objects which hold the new string content, and
the text to replace it with.