@bettercorp/tools
Advanced tools
Comparing version 2.1.14 to 2.1.16-rc
@@ -14,3 +14,3 @@ export interface IDictionary<T = any> { | ||
Param | ParamsFromString<`${Pre}${Post}`> : never; | ||
export declare type DynamicallyReferencedMethod<Interface extends IDictionary<Function>, Method extends string, ArgsReference extends boolean = true> = ArgsReference extends true ? Interface[Method] extends (...a: infer Arguments) => infer Return ? [ | ||
export declare type DynamicallyReferencedMethod<Interface extends DynamicallyReferencedType, Method extends string, ArgsReference extends boolean = true> = ArgsReference extends true ? Interface[Method] extends (...a: infer Arguments) => infer Return ? [ | ||
method: Method, | ||
@@ -22,6 +22,5 @@ ...a: Arguments | ||
] : Interface[Method] extends (...a: infer Arguments) => infer Return ? Return : never; | ||
export interface DynamicallyReferencedMethodBase extends IDictionary<Function | any> { | ||
export declare type DynamicallyReferencedType = IDictionary<Function>; | ||
export interface DynamicallyReferencedMethodBase extends DynamicallyReferencedType { | ||
} | ||
export declare class DynamicallyReferencedMethodClass implements DynamicallyReferencedMethodBase { | ||
[index: string]: Function | any; | ||
} | ||
export declare type DynamicallyReferencedMethodType<T> = T & DynamicallyReferencedMethodBase; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.DynamicallyReferencedMethodClass = void 0; | ||
class DynamicallyReferencedMethodClass { | ||
} | ||
exports.DynamicallyReferencedMethodClass = DynamicallyReferencedMethodClass; | ||
//# sourceMappingURL=Interfaces.js.map |
@@ -20,3 +20,3 @@ { | ||
"main": "lib/index.js", | ||
"version": "2.1.14", | ||
"version": "2.1.16-rc", | ||
"devDependencies": { | ||
@@ -23,0 +23,0 @@ "@types/crypto-js": "^4.1.1", |
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
81329
685
1