Skip to content

Commit

Permalink
use predefined string
Browse files Browse the repository at this point in the history
  • Loading branch information
chu121su12 committed Oct 21, 2023
1 parent c9d2a76 commit 5499e07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vite/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,5 @@ export interface VitePluginConfig<Theme extends object = object> extends UserCon
*
* @default 'cors'
*/
fetchMode?: RequestMode
fetchMode?: 'cors' | 'navigate' | 'no-cors' | 'same-origin'
}

0 comments on commit 5499e07

Please sign in to comment.