Skip to content

Commit 78bce8b

Browse files
authored
Update README.md
1 parent 822c2e9 commit 78bce8b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Transforms React code written in JavaScript to TypeScript.
1515
## Example
1616

1717
**input**
18-
```ts
18+
```jsx
1919
class MyComponent extends React.Component {
2020
static propTypes = {
2121
p: React.PropTypes.string.isRequired,
@@ -35,7 +35,7 @@ class MyComponent extends React.Component {
3535
```
3636

3737
**output**
38-
```ts
38+
```tsx
3939
interface IMyComponentProps {
4040
p: string;
4141
r: number | undefined;

0 commit comments

Comments
 (0)