Skip to content
This repository has been archived by the owner on Feb 20, 2019. It is now read-only.

Commit

Permalink
[bump] typescript 3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
bomgar committed Dec 5, 2018
1 parent 4e3b71d commit 6d6972c
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 15 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"@types/reactstrap": "^6.0.2",
"@types/route-parser": "^0.1.1",
"@types/numeral":"^0.0.25",
"awesome-typescript-loader": "5.0.0-1",
"awesome-typescript-loader": "5.2.1",
"babel-core": "^6.26.0",
"babel-loader": "^7.1.4",
"babel-preset-es2015": "6.24.1",
Expand All @@ -52,7 +52,7 @@
"style-loader": "0.20.3",
"tslib": "^1.8.0",
"tslint": "5.8.0",
"typescript": "3.0.1",
"typescript": "3.2.1",
"typescript-formatter": "7.2.2",
"url-loader": "1.0.1",
"webpack": "^4.1.1",
Expand Down
2 changes: 1 addition & 1 deletion ui/components/xlstore-app-details-view.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ class XLStoreAppDetailsViewImpl extends React.Component<Props, AppDetailsState>
<FormGroup check>
<Label check>
<div style={{ marginTop: "-1.3rem" }}>
<Input type="checkbox" {...(fieldValue === "TRUE" ? { checked: true } : { checked: false })} onChange={ev => this.updateInputFieldState(field.name, ev.target.checked ? "TRUE" : "FALSE")} />
<Input type="checkbox" checked={fieldValue === "TRUE"} onChange={ev => this.updateInputFieldState(field.name, ev.target.checked ? "TRUE" : "FALSE")} />
</div>
</Label>
</FormGroup>
Expand Down
3 changes: 2 additions & 1 deletion ui/helper/minithunk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ export type BindableActions<S, T> = {
export function bindBindableActions<S, T extends { [name: string]: (...args: any[]) => void }>(dispatch: Dispatch<S>, actions: BindableActions<S, T>): T {
const result = {} as T;
for (const actionName in actions) {
const stringActionName: string = actionName
if (actions.hasOwnProperty(actionName)) {
result[actionName] = (...args: any[]) => actions[actionName](dispatch)(...args);
result[stringActionName] = (...args: any[]) => actions[actionName](dispatch)(...args);
}
}
return result;
Expand Down
23 changes: 12 additions & 11 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -606,18 +606,19 @@ autoprefixer@^6.3.1:
postcss "^5.2.16"
postcss-value-parser "^3.2.3"

awesome-typescript-loader@5.0.0-1:
version "5.0.0-1"
resolved "https://registry.yarnpkg.com/awesome-typescript-loader/-/awesome-typescript-loader-5.0.0-1.tgz#ab618ae4071f714825f0306871a0452fd1b347e8"
integrity sha512-QVoHGejRvhNHzU+Ur9YSfTsKaYsFlL38o1VEA1v8WTRiQguQdZByCFQblv3kBncJ0TB9ayy7Hjl1bYGuFyvzrA==
awesome-typescript-loader@5.2.1:
version "5.2.1"
resolved "https://registry.yarnpkg.com/awesome-typescript-loader/-/awesome-typescript-loader-5.2.1.tgz#a41daf7847515f4925cdbaa3075d61f289e913fc"
integrity sha512-slv66OAJB8orL+UUaTI3pKlLorwIvS4ARZzYR9iJJyGsEgOqueMfOMdKySWzZ73vIkEe3fcwFgsKMg4d8zyb1g==
dependencies:
chalk "^2.3.1"
chalk "^2.4.1"
enhanced-resolve "^4.0.0"
loader-utils "^1.1.0"
lodash "^4.17.5"
micromatch "^3.1.9"
mkdirp "^0.5.1"
source-map-support "^0.5.3"
webpack-log "^1.2.0"

aws-sign2@~0.6.0:
version "0.6.0"
Expand Down Expand Up @@ -1723,7 +1724,7 @@ chalk@^1.0.0, chalk@^1.1.1, chalk@^1.1.3:
strip-ansi "^3.0.0"
supports-color "^2.0.0"

chalk@^2.0.0, chalk@^2.0.1, chalk@^2.1.0, chalk@^2.3.0, chalk@^2.3.1, chalk@^2.3.2, chalk@^2.4.1:
chalk@^2.0.0, chalk@^2.0.1, chalk@^2.1.0, chalk@^2.3.0, chalk@^2.3.2, chalk@^2.4.1:
version "2.4.1"
resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.1.tgz#18c49ab16a037b6eb0152cc83e3471338215b66e"
integrity sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==
Expand Down Expand Up @@ -8426,10 +8427,10 @@ [email protected]:
commandpost "^1.0.0"
editorconfig "^0.15.0"

typescript@3.0.1:
version "3.0.1"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.0.1.tgz#43738f29585d3a87575520a4b93ab6026ef11fdb"
integrity sha512-zQIMOmC+372pC/CCVLqnQ0zSBiY7HHodU7mpQdjiZddek4GMj31I3dUJ7gAs9o65X7mnRma6OokOkc6f9jjfBg==
typescript@3.2.1:
version "3.2.1"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.2.1.tgz#0b7a04b8cf3868188de914d9568bd030f0c56192"
integrity sha512-jw7P2z/h6aPT4AENXDGjcfHTu5CSqzsbZc6YlUIebTyBAq8XaKp78x7VcSh30xwSCcsu5irZkYZUSFP1MrAMbg==

ua-parser-js@^0.7.18:
version "0.7.18"
Expand Down Expand Up @@ -8809,7 +8810,7 @@ webpack-dev-server@^3.1.1:
webpack-log "^1.1.2"
yargs "11.0.0"

webpack-log@^1.0.1, webpack-log@^1.1.2:
webpack-log@^1.0.1, webpack-log@^1.1.2, webpack-log@^1.2.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/webpack-log/-/webpack-log-1.2.0.tgz#a4b34cda6b22b518dbb0ab32e567962d5c72a43d"
integrity sha512-U9AnICnu50HXtiqiDxuli5gLB5PGBo7VvcHx36jRZHwK4vzOYLbImqT4lwWwoMHdQWwEKw736fCHEekokTEKHA==
Expand Down

0 comments on commit 6d6972c

Please sign in to comment.