ReadonlyallowReadonlycancellationReadonlyconfiguredReadonlycurrentReadonlyexternalexternal projects (configuration and list of root files is not controlled by tsserver)
ReadonlyglobalReadonlyhostReadonlyinferredprojects built from openFileRoots
ReadonlyjsReadonlyloggerReadonlyopenOpen files: with value being project root path, and key being Path of the file that is open
ReadonlypluginReadonlyserverOptional ReadonlythrottleReadonlytoReadonlytypesReadonlytypingsReadonlyuseReadonlyuseClose file whose contents is managed by the client
OptionalfileContent: stringOptionalscriptKind: tsc.ScriptKindOptionalhasMixedContent: booleanOptionalhostToQueryFileExistsOn: { fileExists(path: string): boolean }This gets the script info for the normalized path. If the path is not rooted disk path then the open script info with project root context is preferred
Open file whose contents is managed by the client
OptionalfileContent: stringis a known version of the file content that is more up to date than the one on disk
OptionalscriptKind: tsc.ScriptKindOptionalprojectRootPath: stringOptionalfileContent: stringOptionalscriptKind: tsc.ScriptKindOptionalhasMixedContent: booleanOptionalprojectRootPath: NormalizedPathThis function rebuilds the project for every file opened by the client This does not reload contents of open files from disk. But we could do that if needed
OptionalprojectRootPath: string
projects specified by a tsconfig.json file