Thread typesMapLocation down to the ProjectService

Fixes #22607
This commit is contained in:
Andrew Casey
2018-09-18 10:30:15 -07:00
parent cd5b9fa7dd
commit 1bcb4910ca
3 changed files with 4 additions and 0 deletions

View File

@@ -490,6 +490,7 @@ namespace ts.server {
globalPlugins?: ReadonlyArray<string>;
pluginProbeLocations?: ReadonlyArray<string>;
allowLocalPluginLoads?: boolean;
typesMapLocation?: string;
}
export class Session implements EventSender {
@@ -550,6 +551,7 @@ namespace ts.server {
globalPlugins: opts.globalPlugins,
pluginProbeLocations: opts.pluginProbeLocations,
allowLocalPluginLoads: opts.allowLocalPluginLoads,
typesMapLocation: opts.typesMapLocation,
syntaxOnly: opts.syntaxOnly,
};
this.projectService = new ProjectService(settings);