Skip to content

Commit a2d6548

Browse files
committed
fix(fetch): export FetchApiCore interface for declaration emit
TypeScript declaration emit requires FetchApiCore to be exported because it's used in the Api<FetchApiCore> return type of fetchApi.
1 parent 6b21953 commit a2d6548

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

fetch/fetch.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ export class HttpError extends Error {
131131
* Core interface for the fetch API operations.
132132
* Used internally by createApi to enable middleware support.
133133
*/
134-
interface FetchApiCore {
134+
export interface FetchApiCore {
135135
/**
136136
* Perform an HTTP fetch operation.
137137
* This is the core operation that middleware can intercept.

0 commit comments

Comments
 (0)