Skip to content

Commit

Permalink
fix: export RequestController type (#671)
Browse files Browse the repository at this point in the history
  • Loading branch information
kettanaito authored Nov 3, 2024
1 parent c511bb8 commit 06fe8f6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/glossary.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@ import type { RequestController } from './RequestController'

export const IS_PATCHED_MODULE: unique symbol = Symbol('isPatchedModule')

/**
* @note Export `RequestController` as a type only.
* It's never meant to be created in the userland.
*/
export type { RequestController }

export type RequestCredentials = 'omit' | 'include' | 'same-origin'

export type HttpRequestEventMap = {
Expand Down

0 comments on commit 06fe8f6

Please sign in to comment.