Skip to content

Commit 8788060

Browse files
committed
chore: updated type for the route manifest
1 parent 3202075 commit 8788060

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

plugin/src/helpers/config.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,12 @@ import slash from 'slash'
77

88
import { HANDLER_FUNCTION_NAME, ODB_FUNCTION_NAME } from '../constants'
99

10+
import type { RoutesManifest } from './types'
11+
1012
const ROUTES_MANIFEST_FILE = 'routes-manifest.json'
1113

1214
type NetlifyHeaders = NetlifyConfig['headers']
1315

14-
// This is the minimal amount of typing required for now
15-
// add other properties as needed from the routes-manifest.json
16-
export type RoutesManifest = { headers: Header[] }
17-
1816
export interface RequiredServerFiles {
1917
version?: number
2018
config?: NextConfigComplete

0 commit comments

Comments
 (0)