Skip to content

Commit

Permalink
Upgrade to typescript 2.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeRalphson authored and akorchev committed May 25, 2017
1 parent 743e631 commit 81a81c5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,11 @@
},
"homepage": "https://github.com/akorchev/odata2openapi#readme",
"devDependencies": {
"typescript": "^1.8.10",
"typescript": "^2.3.2",
"typings": "^1.3.2"
},
"dependencies": {
"@types/node": "^7.0.18",
"xml2js": "^0.4.17"
}
}
2 changes: 1 addition & 1 deletion src/get.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as http from 'http';

function get(host, path): Promise<string> {
return new Promise((resolve, reject) => {
return new Promise<string>((resolve, reject) => {
const options = {
host,
method: 'GET',
Expand Down
3 changes: 3 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
"target": "es5",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"lib": [
"es2016"
],
"sourceMap": true,
"moduleResolution": "node"
},
Expand Down

0 comments on commit 81a81c5

Please sign in to comment.