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:
parent
a0e0f851c2
commit
bda073cfc1
10
examples/with-typescript/next.d.ts
vendored
10
examples/with-typescript/next.d.ts
vendored
|
@ -1,10 +0,0 @@
|
||||||
declare module 'next/link' {
|
|
||||||
import { Url } from 'url'
|
|
||||||
|
|
||||||
export default class Link extends React.Component<
|
|
||||||
{
|
|
||||||
href: string | Url;
|
|
||||||
},
|
|
||||||
{}
|
|
||||||
> {}
|
|
||||||
}
|
|
|
@ -9,14 +9,14 @@
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"next": "latest",
|
"next": "latest",
|
||||||
"react": "16.1.0",
|
"react": "^16.1.0",
|
||||||
"react-dom": "16.1.0"
|
"react-dom": "^16.1.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/node": "8.0.51",
|
"@types/next": "^2.4.5",
|
||||||
"@types/react": "16.0.22",
|
"@types/react": "^16.0.22",
|
||||||
"concurrently": "^3.5.0",
|
"concurrently": "^3.5.0",
|
||||||
"tslint": "5.8.0",
|
"tslint": "^5.8.0",
|
||||||
"typescript": "2.6.1"
|
"typescript": "^2.6.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue