fix(types): Use any type for api export to fix TypeScript errors
This commit is contained in:
parent
36705cd257
commit
998f9b89e7
1 changed files with 2 additions and 1 deletions
|
|
@ -160,7 +160,8 @@ class CapacitorApiClient {
|
|||
}
|
||||
|
||||
// Create the appropriate client based on platform
|
||||
let api: CapacitorApiClient | ReturnType<typeof axios.create>;
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
let api: any;
|
||||
|
||||
if (isCapacitor) {
|
||||
// Use CapacitorHttp for native platforms
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue