rsnext/packages/next/error.d.ts
Luis Alvarez D 647c06b339
Improve exported root definitions (#32077)
Fixes https://github.com/vercel/next.js/issues/32045

doing `export { default } from 'module'` has some unexpected results for autocompletion in TypeScript, this PR changes root definitions to have a named default export where needed.

## Bug

- [x] Related issues linked using `fixes #number`
2021-12-03 07:16:29 +00:00

3 lines
97 B
TypeScript

import Error from './dist/pages/_error'
export * from './dist/pages/_error'
export default Error