diff --git a/package.json b/package.json index 24a2815..8871b00 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "type": "module", "name": "apigen-ts", - "version": "0.1.1", + "version": "0.1.2", "license": "MIT", "author": "Vlad Pronsky ", "repository": "vladkens/apigen-ts", diff --git a/src/_template.ts b/src/_template.ts index d797a29..540c0f8 100644 --- a/src/_template.ts +++ b/src/_template.ts @@ -1,11 +1,11 @@ // Note: Use uppercase for names in ApiClient to avoid conflict with the generated code -interface ApigenConfig { +export interface ApigenConfig { baseUrl: string headers: Record } -interface ApigenRequest extends Omit { +export interface ApigenRequest extends Omit { search?: Record body?: unknown }