Skip to content

Commit

Permalink
feat(types): add interface for Params
Browse files Browse the repository at this point in the history
  • Loading branch information
bytrangle committed Jun 27, 2022
1 parent 1fdecd6 commit c907e95
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/types.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { ExtendedRecordMap, PageMap } from 'notion-types'
import { ParsedUrlQuery } from 'querystring'

export * from 'notion-types'

Expand All @@ -16,6 +17,10 @@ export interface PageProps {
error?: PageError
}

export interface Params extends ParsedUrlQuery {
pageId: string
}

export interface Site {
name: string
domain: string
Expand Down

0 comments on commit c907e95

Please sign in to comment.