1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00

Remove next.d.ts to use @types/next (#3297)

This commit is contained in:
Brice BERNARD 2017-11-16 12:28:10 +01:00 committed by Tim Neutkens
parent a0e0f851c2
commit bda073cfc1
2 changed files with 6 additions and 16 deletions

View file

@ -1,10 +0,0 @@
declare module 'next/link' {
import { Url } from 'url'
export default class Link extends React.Component<
{
href: string | Url;
},
{}
> {}
}

View file

@ -9,14 +9,14 @@
},
"dependencies": {
"next": "latest",
"react": "16.1.0",
"react-dom": "16.1.0"
"react": "^16.1.0",
"react-dom": "^16.1.0"
},
"devDependencies": {
"@types/node": "8.0.51",
"@types/react": "16.0.22",
"@types/next": "^2.4.5",
"@types/react": "^16.0.22",
"concurrently": "^3.5.0",
"tslint": "5.8.0",
"typescript": "2.6.1"
"tslint": "^5.8.0",
"typescript": "^2.6.1"
}
}