Skip to content
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.

Commit

Permalink
Merge pull request #609 from palantir/next-2.5.0-dev.4
Browse files Browse the repository at this point in the history
Prepare v2.5.0-dev.4 release
  • Loading branch information
adidahiya committed Aug 26, 2015
2 parents 22b7b78 + 8e7e0d9 commit 631656d
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 9 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
Change Log
===

v2.5.0-dev.4
---
* Upgrade TypeScript compiler to v1.6.0-dev.20150825

v2.5.0-dev.3
---
* Upgrade TypeScript compiler to v1.6.0-dev.20150821
Expand All @@ -15,6 +19,10 @@ v2.5.0-dev.1
* Upgrade TypeScript compiler to v1.6.0-dev.20150805
* [enhancement] Support `.tsx` syntax (#490)

v2.4.4
---
* [bugfix] remove "typescript" block from package.json (#606)

v2.4.3
---
* [new-rule] `no-conditional-assignment` (#507)
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tslint",
"version": "2.5.0-dev.3",
"version": "2.5.0-dev.4",
"description": "a static analysis linter for TypeScript",
"bin": {
"tslint": "./bin/tslint"
Expand Down Expand Up @@ -35,7 +35,7 @@
"grunt-ts": "^4.1.0",
"grunt-tslint": "latest",
"mocha": "^2.2.5",
"tslint": "^2.4.2",
"tslint": "latest",
"typescript": "next"
},
"license": "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion src/rules/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,4 @@
"./variableNameRule.ts",
"./whitespaceRule.ts"
]
}
}
2 changes: 1 addition & 1 deletion src/tslint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ module Lint {
}

export class Linter {
public static VERSION = "2.5.0-dev.3";
public static VERSION = "2.5.0-dev.4";

private fileName: string;
private source: string;
Expand Down
14 changes: 9 additions & 5 deletions typings/typescriptServices.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1025,11 +1025,6 @@ declare namespace ts {
emitSkipped: boolean;
diagnostics: Diagnostic[];
}
interface TypeCheckerHost {
getCompilerOptions(): CompilerOptions;
getSourceFiles(): SourceFile[];
getSourceFile(fileName: string): SourceFile;
}
interface TypeChecker {
getTypeOfSymbolAtLocation(symbol: Symbol, node: Node): Type;
getDeclaredTypeOfSymbol(symbol: Symbol): Type;
Expand Down Expand Up @@ -1298,6 +1293,10 @@ declare namespace ts {
Error = 1,
Message = 2,
}
const enum ModuleResolutionKind {
Classic = 1,
NodeJs = 2,
}
interface CompilerOptions {
allowNonTsExtensions?: boolean;
charset?: string;
Expand All @@ -1321,6 +1320,7 @@ declare namespace ts {
noLib?: boolean;
noResolve?: boolean;
out?: string;
outFile?: string;
outDir?: string;
preserveConstEnums?: boolean;
project?: string;
Expand All @@ -1336,6 +1336,7 @@ declare namespace ts {
experimentalDecorators?: boolean;
experimentalAsyncFunctions?: boolean;
emitDecoratorMetadata?: boolean;
moduleResolution?: ModuleResolutionKind;
[option: string]: string | number | boolean;
}
const enum ModuleKind {
Expand Down Expand Up @@ -1513,6 +1514,9 @@ declare namespace ts {
function findConfigFile(searchPath: string): string;
function resolveTripleslashReference(moduleName: string, containingFile: string): string;
function resolveModuleName(moduleName: string, containingFile: string, compilerOptions: CompilerOptions, host: ModuleResolutionHost): ResolvedModule;
function nodeModuleNameResolver(moduleName: string, containingFile: string, host: ModuleResolutionHost): ResolvedModule;
function baseUrlModuleNameResolver(moduleName: string, containingFile: string, baseUrl: string, host: ModuleResolutionHost): ResolvedModule;
function classicNameResolver(moduleName: string, containingFile: string, compilerOptions: CompilerOptions, host: ModuleResolutionHost): ResolvedModule;
function createCompilerHost(options: CompilerOptions, setParentNodes?: boolean): CompilerHost;
function getPreEmitDiagnostics(program: Program, sourceFile?: SourceFile, cancellationToken?: CancellationToken): Diagnostic[];
function flattenDiagnosticMessageText(messageText: string | DiagnosticMessageChain, newLine: string): string;
Expand Down

0 comments on commit 631656d

Please sign in to comment.