Renaming DocumentEditorType to EditorType. Changing it from var to module (that changes the syntax for specific type declarations to more elegant). Removed unused empty snapshot value from TypeScriptService.