Skip to content

Commit

Permalink
Update to TypeScript 1.7.3
Browse files Browse the repository at this point in the history
  • Loading branch information
kitsonk committed Dec 1, 2015
1 parent 105bbf1 commit dc88087
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,9 @@ function processTree(sourceFile: ts.SourceFile, replacer: (node: ts.Node) => str

function getTSConfig(options: Options, fileName: string): Options {
const configText = fs.readFileSync(fileName, { encoding: 'utf8' });
const result = ts.parseConfigFileText(fileName, configText);
const result = ts.parseConfigFileTextToJson(fileName, configText);
const configObject = result.config;
const configParseResult = ts.parseConfigFile(configObject, ts.sys, pathUtil.dirname(fileName));
const configParseResult = ts.parseJsonConfigFileContent(configObject, ts.sys, pathUtil.dirname(fileName));
options.target = configParseResult.options.target;
if (configParseResult.options.outDir) {
options.outDir = configParseResult.options.outDir;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"bluebird": "2.10.2",
"glob": "5.0.15",
"mkdirp": "0.5.1",
"typescript": "1.6.2"
"typescript": "1.7.3"
},
"devDependencies": {
"tsd": "0.6.5",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.6.2",
"version": "1.7.3",
"compilerOptions": {
"target": "es5",
"module": "umd",
Expand Down

0 comments on commit dc88087

Please sign in to comment.