Skip to content

Commit

Permalink
fix: satisfy typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
sheremet-va committed Sep 25, 2024
1 parent e83667f commit 91f306a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/guide/api-environment.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,9 @@ const server = await createServer({
// Default Vite SSR environment can be overridden in the config, so
// make sure you have a Node environment before the request is received.
// By default, "createNodeDevEnvironment" also creates an HMR channel
createNodeDevEnvironment,
createEnvironment(name, config) {
return createNodeDevEnvironment(name, config)
},
},
},
},
Expand Down

0 comments on commit 91f306a

Please sign in to comment.