Skip to content

Commit

Permalink
feat: HttpMethod type
Browse files Browse the repository at this point in the history
  • Loading branch information
alimd committed Sep 10, 2024
1 parent 43617d8 commit 520ac4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/api-server/src/type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ declare module 'http' {
}
}

export interface NanoServerConfig {
export type HttpMethod = 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH' | 'OPTIONS' | 'HEAD' | 'CONNECT' | 'TRACE';
/**
* The port number to listen on.
*
Expand Down

0 comments on commit 520ac4f

Please # to comment.