Skip to content

Commit

Permalink
Update to React 15.5 and TypeScript 2.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
rickbeerendonk committed Apr 17, 2017
1 parent 73aefcc commit d955f7b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions 02 - Component/typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
"dependencies": {
"@types/react": "^15.0.12",
"@types/react-dom": "^0.14.23",
"react": "^15.4.2",
"react-dom": "^15.4.2"
"react": "^15.5.4",
"react-dom": "^15.5.4"
},
"devDependencies": {
"typescript": "^2.2.1"
"typescript": "^2.2.2"
}
}
2 changes: 1 addition & 1 deletion 02 - Component/typescript/site/src/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//import * as React from 'react';
//import * as ReactDOM from 'react-dom';

class Greeting extends React.Component<{}, {}> {
class Greeting extends React.Component<undefined, undefined> {
render() {
return (
<h1>Hello World!</h1>
Expand Down
6 changes: 3 additions & 3 deletions 03 - Properties/typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
"dependencies": {
"@types/react": "^15.0.12",
"@types/react-dom": "^0.14.23",
"react": "^15.4.2",
"react-dom": "^15.4.2"
"react": "^15.5.4",
"react-dom": "^15.5.4"
},
"devDependencies": {
"typescript": "^2.2.1"
"typescript": "^2.2.2"
}
}
2 changes: 1 addition & 1 deletion 03 - Properties/typescript/site/src/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ interface IGreeting {
name: string
}

class Greeting extends React.Component<IGreeting, {}> {
class Greeting extends React.Component<IGreeting, undefined> {
render() {
return (
<h1>Hello {this.props.name}!</h1>
Expand Down

0 comments on commit d955f7b

Please sign in to comment.