Sha256: 9c6d495af5f992ebd39b55e47322f80ff7661d647cca5da8d018e2eaa3d048f6

Contents?: true

Size: 356 Bytes

Versions: 2

Compression:

Stored size: 356 Bytes

Contents

type Rule<T> = readonly [string, Config<T>];
type Config<T> = T | Promise<T> | ExectableConfig<T>;
type ExectableConfig<T> = (() => T) | (() => Promise<T>);
type ExecutedRule<T> = readonly [string, T];
export default execute;
export declare function execute<T = unknown>(rule?: Rule<T>): Promise<ExecutedRule<T> | null>;
//# sourceMappingURL=index.d.ts.map

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pcp-server-ruby-sdk-0.0.6 node_modules/@commitlint/execute-rule/lib/index.d.ts
pcp-server-ruby-sdk-0.1.0 node_modules/@commitlint/execute-rule/lib/index.d.ts