UNPKG
next-typesafe-path
Version:
latest (0.0.5)
0.0.5
0.0.4
0.0.3
0.0.2
Type-safe path for Next.js
github.com/Uki884/next-typesafe-path
Uki884/next-typesafe-path
next-typesafe-path
/
dist
/
src
/
generator.d.ts
9 lines
(8 loc)
•
234 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
import
{
UserOptions
}
from
'./types'
;
type
Options
= {
appDir
:
string
;
pagesDir
:
string
;
options
:
UserOptions
; };
export
declare
const
generateTypes
:
(
{ appDir, pagesDir, options, }:
Options
) =>
Promise
<
void
>;
export
{};