Skip to content

Commit

Permalink
Fix tests on TypeScript 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
blakeembrey committed Apr 17, 2018
1 parent 68c130c commit 4385d96
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 11 deletions.
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -70,7 +70,7 @@
"semver": "^5.1.0",
"tslint": "^5.0.0",
"tslint-config-standard": "^7.0.0",
"typescript": "^2.7.2"
"typescript": "^2.8.1"
},
"dependencies": {
"arrify": "^1.0.0",
Expand Down
12 changes: 8 additions & 4 deletions tests/allow-js/with-jsx.jsx
@@ -1,7 +1,11 @@
export class Foo2 {
render () {
return <div />

static sayHi () {
return 'hello world'
}

render () {
return <div />
}

}

Foo2.sayHi = () => 'hello world'

0 comments on commit 4385d96

Please sign in to comment.