Skip to content

Commit b662088

Browse files
author
Tane Morgan
committed
Add example for older TypeScript version
1 parent b6a2af1 commit b662088

File tree

20 files changed

+101
-3
lines changed

20 files changed

+101
-3
lines changed
File renamed without changes.
File renamed without changes.

examples/typescript/README.md renamed to examples/typescript-2.x/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# ReactSVG Typescript Example
1+
# ReactSVG Typescript 2.x Example
22

33
This project was bootstrapped with [Create React App](https://github.com/facebookincubator/create-react-app).
44

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"name": "typescript-2.x",
3+
"description": "ReactSVG Typescript 2.x Example",
4+
"keywords": [
5+
"react-svg"
6+
],
7+
"main": "src/index.tsx",
8+
"version": "0.1.0",
9+
"private": true,
10+
"dependencies": {
11+
"react": "^16.6.3",
12+
"react-dom": "^16.6.3",
13+
"react-scripts": "^2.1.1",
14+
"react-svg": "latest"
15+
},
16+
"scripts": {
17+
"start": "react-scripts start"
18+
},
19+
"devDependencies": {
20+
"@types/jest": "^23.3.9",
21+
"@types/node": "^10.12.10",
22+
"@types/react": "^16.7.7",
23+
"@types/react-dom": "^16.0.10",
24+
"typescript": "^2.9.2"
25+
},
26+
"browserslist": [
27+
">0.2%",
28+
"not dead",
29+
"not ie <= 11",
30+
"not op_mini all"
31+
]
32+
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)