Skip to content

Commit

Permalink
v0.1.2: make apigen interfaces public to allow override it
Browse files Browse the repository at this point in the history
  • Loading branch information
vladkens committed Jan 16, 2024
1 parent efb48c0 commit 4d7315c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"type": "module",
"name": "apigen-ts",
"version": "0.1.1",
"version": "0.1.2",
"license": "MIT",
"author": "Vlad Pronsky <[email protected]>",
"repository": "vladkens/apigen-ts",
Expand Down
4 changes: 2 additions & 2 deletions src/_template.ts
Original file line number Diff line number Diff line change
@@ -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<string, string>
}

interface ApigenRequest extends Omit<RequestInit, "body"> {
export interface ApigenRequest extends Omit<RequestInit, "body"> {
search?: Record<string, unknown>
body?: unknown
}
Expand Down

0 comments on commit 4d7315c

Please sign in to comment.