File tree Expand file tree Collapse file tree
packages/tanstack-query-react-types/src/shared Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ ' @openapi-qraft/tanstack-query-react-types ' : patch
3+ ---
4+
5+ Clarify ` RequestFnInfo ` type by adding missing ` readonly ` modifiers for consistency and correctness.
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ export interface RequestFnInfo
6060 * Base URL to use for the request
6161 * @example 'https://api.example.com'
6262 */
63- baseUrl ?: string ;
63+ readonly baseUrl ?: string ;
6464
6565 /**
6666 * OpenAPI parameters
@@ -84,10 +84,10 @@ export interface RequestFnInfo
8484 /**
8585 * TanStack Query Meta
8686 */
87- meta ?: Record < string , unknown > ;
87+ readonly meta ?: Record < string , unknown > ;
8888
8989 /** An AbortSignal to set request's signal. */
90- signal ?: AbortSignal | null ;
90+ readonly signal ?: AbortSignal | null ;
9191}
9292
9393/**
You can’t perform that action at this time.
0 commit comments