feat(types): add interface for Params

This commit is contained in:
Trang Le
2022-06-27 10:57:26 +00:00
parent 1fdecd6f82
commit c907e95b00

View File

@@ -1,4 +1,5 @@
import { ExtendedRecordMap, PageMap } from 'notion-types'
import { ParsedUrlQuery } from 'querystring'
export * from 'notion-types'
@@ -16,6 +17,10 @@ export interface PageProps {
error?: PageError
}
export interface Params extends ParsedUrlQuery {
pageId: string
}
export interface Site {
name: string
domain: string