Skip to content

Commit

Permalink
upgradeto TypeScript 2.8 (palantir#2665)
Browse files Browse the repository at this point in the history
  • Loading branch information
giladgray authored Jul 10, 2018
1 parent 7ffe3d8 commit 0b4c8d2
Show file tree
Hide file tree
Showing 13 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"sinon": "^4.1.4",
"stylelint-config-palantir": "^3.0.2",
"stylelint-scss": "^2.5.0",
"typescript": "~2.7.2"
"typescript": "~2.8.3"
},
"engines": {
"node": ">=6.1"
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"react": "^16.2.0",
"react-dom": "^16.2.0",
"react-test-renderer": "^16.2.0",
"typescript": "~2.7.2",
"typescript": "~2.8.3",
"webpack": "^3.10.0"
},
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/components/html-select/htmlSelect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export class HTMLSelect extends React.PureComponent<IHTMLSelectProps> {
);

const optionChildren = options.map(value => {
const option = typeof value === "object" ? value : { value };
const option: IHTMLOptionProps = typeof value === "object" ? value : { value, label: value.toString() };
return <option key={option.value} {...option} />;
});

Expand Down
2 changes: 1 addition & 1 deletion packages/datetime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"react": "^16.2.0",
"react-dom": "^16.2.0",
"react-test-renderer": "^16.2.0",
"typescript": "~2.7.2",
"typescript": "~2.8.3",
"webpack": "^3.10.0"
},
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packages/docs-theme/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"npm-run-all": "^4.1.2",
"react": "^16.2.0",
"react-dom": "^16.2.0",
"typescript": "~2.7.2",
"typescript": "~2.8.3",
"webpack": "^3.10.0"
},
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packages/icons/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"react": "^16.2.0",
"react-dom": "^16.2.0",
"react-test-renderer": "^16.2.0",
"typescript": "~2.7.2",
"typescript": "~2.8.3",
"webpack": "^3.10.0"
},
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packages/labs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"react": "^16.2.0",
"react-dom": "^16.2.0",
"react-test-renderer": "^16.2.0",
"typescript": "~2.7.2",
"typescript": "~2.8.3",
"webpack": "^3.10.0"
},
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packages/node-build-scripts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"stylelint-junit-formatter": "^0.2.0",
"svgo": "^1.0.3",
"tslint": "^5.9.1",
"typescript": "~2.7.2"
"typescript": "~2.8.3"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/select/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"react": "^16.2.0",
"react-dom": "^16.2.0",
"react-test-renderer": "^16.2.0",
"typescript": "~2.7.2",
"typescript": "~2.8.3",
"webpack": "^3.10.0"
},
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packages/table/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"react": "^16.2.0",
"react-dom": "^16.2.0",
"react-test-renderer": "^16.2.0",
"typescript": "~2.7.2",
"typescript": "~2.8.3",
"webpack": "^3.10.0",
"webpack-dev-server": "^2.11.1"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/test-commons/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
},
"devDependencies": {
"react": "^16.2.0",
"typescript": "~2.7.2"
"typescript": "~2.8.3"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/timezone/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"react": "^16.2.0",
"react-dom": "^16.2.0",
"react-test-renderer": "^16.2.0",
"typescript": "~2.7.2",
"typescript": "~2.8.3",
"webpack": "^3.10.0"
},
"repository": {
Expand Down
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8251,9 +8251,9 @@ [email protected]:
version "2.7.1"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-2.7.1.tgz#bb3682c2c791ac90e7c6210b26478a8da085c359"

typescript@~2.7.2:
version "2.7.2"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-2.7.2.tgz#2d615a1ef4aee4f574425cdff7026edf81919836"
typescript@~2.8.3:
version "2.8.4"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-2.8.4.tgz#0b1db68e6bdfb0b767fa2ab642136a35b059b199"

ua-parser-js@^0.7.9:
version "0.7.17"
Expand Down

0 comments on commit 0b4c8d2

Please sign in to comment.