Update typescript example (#7684)

This commit is contained in:
Lukáš Huvar 2019-06-27 13:50:38 +02:00 committed by Tim Neutkens
parent 44d8c624f4
commit 830281fecd
2 changed files with 5 additions and 2 deletions

View file

@ -0,0 +1,2 @@
/// <reference types="next" />
/// <reference types="next/types/global" />

View file

@ -8,14 +8,15 @@
"type-check": "tsc"
},
"dependencies": {
"next": "^8.1.1-canary.28",
"next": "8.1.1-canary.61",
"react": "^16.7.0",
"react-dom": "^16.7.0"
},
"devDependencies": {
"@types/node": "^11.13.9",
"@types/react": "^16.8.15",
"@types/react-dom": "^16.0.11"
"@types/react-dom": "^16.0.11",
"typescript": "3.5.2"
},
"license": "ISC"
}