@tramvai/papi 2.150.0 → 2.151.0
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.
- package/lib/createPapiMethod.d.ts +3 -2
- package/lib/index.d.ts +1 -0
- package/lib/types.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { PapiParameters, Papi } from './types';
|
|
2
2
|
export declare const PAPI_PARAMETERS = "__papi_parameters__";
|
|
3
|
-
export declare const createPapiMethod: <Result = any, Deps = any>(papi: PapiParameters<Result, Deps>) => Papi
|
|
3
|
+
export declare const createPapiMethod: <Result = any, Deps = any>(papi: PapiParameters<Result, Deps>) => Papi;
|
|
4
4
|
export declare const getPapiParameters: (papi: Papi<any, any>) => import("./types").NormalizedPapiParameters<any, any>;
|
|
5
|
-
export declare const isPapiMethod: (papi: any) => papi is Papi
|
|
5
|
+
export declare const isPapiMethod: (papi: any) => papi is Papi;
|
|
6
|
+
//# sourceMappingURL=createPapiMethod.d.ts.map
|
package/lib/index.d.ts
CHANGED
package/lib/types.d.ts
CHANGED
|
@@ -42,3 +42,4 @@ export type NormalizedPapiParameters<Result, Deps> = Required<PapiParameters<Res
|
|
|
42
42
|
export type Papi<Result = any, Deps = any> = NormalizedHandler<Deps, Result> & {
|
|
43
43
|
[PAPI_PARAMETERS]: NormalizedPapiParameters<Deps, Result>;
|
|
44
44
|
};
|
|
45
|
+
//# sourceMappingURL=types.d.ts.map
|