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:28 -07:00
committed by GitHub
parent ba4aad79dc
commit 3f9395be39

View File

@@ -1,6 +1,6 @@
# How does TypeScript formatting work?
To format code you need to have a formatting context and a sourcefile. The formatting context contains
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.
The end result of formatting is represented by TextChange objects which hold the new string content, and