diff --git a/packages/vite-plugin/dist/index.js b/packages/vite-plugin/dist/index.js index d9cd930..7e6396f 100644 --- a/packages/vite-plugin/dist/index.js +++ b/packages/vite-plugin/dist/index.js @@ -457,7 +457,7 @@ interface RequestOptions { url: string; - method?: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "HEAD" | "OPTIONS"; + method?: 'OPTIONS' | 'GET' | 'HEAD' | 'POST' | 'PUT' | 'DELETE' | 'TRACE' | 'CONNECT'; data?: any; params?: any; header?: any; diff --git a/packages/vite-plugin/src/eps/index.ts b/packages/vite-plugin/src/eps/index.ts index 03a1b7c..fd00376 100644 --- a/packages/vite-plugin/src/eps/index.ts +++ b/packages/vite-plugin/src/eps/index.ts @@ -390,7 +390,7 @@ async function createDescribe({ list, service }: { list: Eps.Entity[]; service: interface RequestOptions { url: string; - method?: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "HEAD" | "OPTIONS"; + method?: 'OPTIONS' | 'GET' | 'HEAD' | 'POST' | 'PUT' | 'DELETE' | 'TRACE' | 'CONNECT'; data?: any; params?: any; header?: any;