UNPKG

@contract-case/case-core-plugin-function

Version:

ContractCase core function plugin, allowing validation of arbitrary functions

5 lines 613 B
import { CoreFunctionErrorResultMatcher, CoreFunctionSuccessResultMatcher, FUNCTION_RESULT_MATCHER_TYPE } from '@contract-case/case-core-plugin-function-dsl'; import { MatcherExecutor } from '@contract-case/case-plugin-base'; export declare const isSuccessResult: (matcher: CoreFunctionSuccessResultMatcher | CoreFunctionErrorResultMatcher) => matcher is CoreFunctionSuccessResultMatcher; export declare const FunctionResultMatcherExecutor: MatcherExecutor<typeof FUNCTION_RESULT_MATCHER_TYPE, CoreFunctionSuccessResultMatcher | CoreFunctionErrorResultMatcher>; //# sourceMappingURL=FunctionResultMatcher.d.ts.map