From 05f1604a853bb3e2a066ceab1305abbc11d1d99d Mon Sep 17 00:00:00 2001 From: Tom Harley Date: Thu, 8 Feb 2018 18:33:40 +0000 Subject: Revert "Revert "Merge branch 'testing'"" This reverts commit 0a9ebb01c27ed0a648922d243e877194977ce4d1. --- src/matcher/options.ts | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/matcher/options.ts') diff --git a/src/matcher/options.ts b/src/matcher/options.ts index 2e65105..7412675 100644 --- a/src/matcher/options.ts +++ b/src/matcher/options.ts @@ -1,5 +1,8 @@ import { default as types } from './types'; +type matchType + = (boolean | ((T) => boolean)); + export function match(template: Object, value?: Object) { if (value === undefined) { return match.bind(null, template); -- cgit v1.2.1