Skip to content

Commit

Permalink
refactor: requests ids can also be symbol
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurfiorette committed Sep 20, 2021
1 parent b9cca07 commit 38133a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/axios/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export type CacheRequestConfig = AxiosRequestConfig & {
* @see cacheKey
* @default undefined
*/
id?: string | number;
id?: string | symbol;

/**
* All cache options for the request.
Expand Down

0 comments on commit 38133a7

Please sign in to comment.