Skip to content

Commit 68a3d89

Browse files
committed
fix type error
1 parent 0e9dfe1 commit 68a3d89

File tree

1 file changed

+1
-3
lines changed
  • packages/api-client/src/views/Request/libs

1 file changed

+1
-3
lines changed

packages/api-client/src/views/Request/libs/oauth2.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@ import type { Oauth2Flow, Server } from '@scalar/oas-utils/entities/spec'
33
import { shouldUseProxy } from '@scalar/oas-utils/helpers'
44

55
/** Oauth2 security schemes which are not implicit */
6-
type NonImplicitFlow = Exclude<Oauth2Flow, { type: 'implicit' }> & {
7-
'x-scalar-security-body'?: Record<string, string>
8-
}
6+
type NonImplicitFlow = Exclude<Oauth2Flow, { type: 'implicit' }>
97

108
type PKCEState = {
119
codeVerifier: string

0 commit comments

Comments
 (0)