Merge pull request #2450 from Microsoft/tsconfigServer

Add support to TypeScript server for tsconfig.json files.
This commit is contained in:
Steve Lucco
2015-03-24 14:38:26 -07:00
13 changed files with 248 additions and 109 deletions

View File

@@ -1475,6 +1475,7 @@ declare module "typescript" {
declare module "typescript" {
/** The version of the TypeScript compiler release */
let version: string;
function findConfigFile(searchPath: string): string;
function createCompilerHost(options: CompilerOptions, setParentNodes?: boolean): CompilerHost;
function getPreEmitDiagnostics(program: Program): Diagnostic[];
function flattenDiagnosticMessageText(messageText: string | DiagnosticMessageChain, newLine: string): string;

View File

@@ -4736,6 +4736,10 @@ declare module "typescript" {
interface GenericType extends InterfaceType, TypeReference {
>GenericType : GenericType
>InterfaceType : InterfaceType
>TypeReference : TypeReference
instantiations: Map<TypeReference>;
>instantiations : Map<TypeReference>

View File

@@ -1506,6 +1506,7 @@ declare module "typescript" {
declare module "typescript" {
/** The version of the TypeScript compiler release */
let version: string;
function findConfigFile(searchPath: string): string;
function createCompilerHost(options: CompilerOptions, setParentNodes?: boolean): CompilerHost;
function getPreEmitDiagnostics(program: Program): Diagnostic[];
function flattenDiagnosticMessageText(messageText: string | DiagnosticMessageChain, newLine: string): string;

View File

@@ -4882,6 +4882,10 @@ declare module "typescript" {
interface GenericType extends InterfaceType, TypeReference {
>GenericType : GenericType
>InterfaceType : InterfaceType
>TypeReference : TypeReference
instantiations: Map<TypeReference>;
>instantiations : Map<TypeReference>

View File

@@ -1507,6 +1507,7 @@ declare module "typescript" {
declare module "typescript" {
/** The version of the TypeScript compiler release */
let version: string;
function findConfigFile(searchPath: string): string;
function createCompilerHost(options: CompilerOptions, setParentNodes?: boolean): CompilerHost;
function getPreEmitDiagnostics(program: Program): Diagnostic[];
function flattenDiagnosticMessageText(messageText: string | DiagnosticMessageChain, newLine: string): string;

View File

@@ -4832,6 +4832,10 @@ declare module "typescript" {
interface GenericType extends InterfaceType, TypeReference {
>GenericType : GenericType
>InterfaceType : InterfaceType
>TypeReference : TypeReference
instantiations: Map<TypeReference>;
>instantiations : Map<TypeReference>

View File

@@ -1544,6 +1544,7 @@ declare module "typescript" {
declare module "typescript" {
/** The version of the TypeScript compiler release */
let version: string;
function findConfigFile(searchPath: string): string;
function createCompilerHost(options: CompilerOptions, setParentNodes?: boolean): CompilerHost;
function getPreEmitDiagnostics(program: Program): Diagnostic[];
function flattenDiagnosticMessageText(messageText: string | DiagnosticMessageChain, newLine: string): string;

View File

@@ -5005,6 +5005,10 @@ declare module "typescript" {
interface GenericType extends InterfaceType, TypeReference {
>GenericType : GenericType
>InterfaceType : InterfaceType
>TypeReference : TypeReference
instantiations: Map<TypeReference>;
>instantiations : Map<TypeReference>