mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-15 11:35:42 -06:00
set compilation settings of project as a part of sync process
This commit is contained in:
parent
e77f9b22c0
commit
de37f35f7c
@ -294,7 +294,8 @@ namespace ts.server {
|
||||
const info = {
|
||||
projectName: this.getProjectName(),
|
||||
version: this.projectStructureVersion,
|
||||
isInferred: this.projectKind === ProjectKind.Inferred
|
||||
isInferred: this.projectKind === ProjectKind.Inferred,
|
||||
options: this.getCompilerOptions()
|
||||
};
|
||||
// check if requested version is the same that we have reported last time
|
||||
if (this.lastReportedFileNames && lastKnownVersion === this.lastReportedVersion) {
|
||||
|
||||
1
src/server/protocol.d.ts
vendored
1
src/server/protocol.d.ts
vendored
@ -507,6 +507,7 @@ declare namespace ts.server.protocol {
|
||||
projectName: string;
|
||||
isInferred: boolean;
|
||||
version: number;
|
||||
options: CompilerOptions;
|
||||
}
|
||||
|
||||
export interface ProjectChanges {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user