You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix: exclude all /_* and /api/_* routes from NitroFetchRequest type #231
git clone https://github.com/unjs/nitro.git
cd nitro
pnpm install
pnpm dev
// after .nitro folder is created, go to playground, create a `_internalRoute.ts` route.thenuse$fetchinotherfile:
$fetch(`/** typescript should not show type hints with '/_internalRoute' */`)
Describe the bug
type NitroFetchRequest should exclude all /_* and /api/_* routes as they are for internal use and should not show type hints/auto-complete to end users
Activity