akanjs 3.0.0-alpha.47 → 3.0.0-alpha.48
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -812,7 +812,9 @@ export class FetchClient {
|
|
|
812
812
|
const handler = instance.#getOrCreateHandler(prop);
|
|
813
813
|
if (handler) return handler;
|
|
814
814
|
}
|
|
815
|
-
|
|
815
|
+
const value = (instance as unknown as Record<PropertyKey, unknown>)[prop];
|
|
816
|
+
|
|
817
|
+
return typeof value === "function" ? value.bind(instance) : value;
|
|
816
818
|
},
|
|
817
819
|
}) as FetchProxy<FetchType, SliceMetaObj>;
|
|
818
820
|
}
|
|
Binary file
|
|
Binary file
|