Skip to content

Commit c5ec3e9

Browse files
committed
.
1 parent 8262747 commit c5ec3e9

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ npm install
66
npm run demo
77
```
88

9-
It will open <http://localhost:8080/> automatically.
9+
It will open page on browser automatically.

hello.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import * as React from 'react'
1+
//import * as React from 'react'
2+
import React from 'react'
23

34
class Hello extends React.Component {
45
render() {

tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"preserveConstEnums": true,
99
"moduleResolution": "node",
1010
"sourceMap": true,
11-
"jsx": "react"
11+
"jsx": "react",
12+
"esModuleInterop": true
1213
},
1314
"exclude": [
1415
"node_modules"

0 commit comments

Comments
 (0)