From 7913e19e2f83296dc96a67e6437f6006b1d894ac Mon Sep 17 00:00:00 2001 From: Tom Harley Date: Fri, 9 Feb 2018 05:59:48 +0000 Subject: various work I forgot to commit --- src/matcher/options.ts | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/matcher/options.ts') diff --git a/src/matcher/options.ts b/src/matcher/options.ts index 7412675..c1d1aeb 100644 --- a/src/matcher/options.ts +++ b/src/matcher/options.ts @@ -75,3 +75,12 @@ export function array(template: Object, values?: Array) { let m = match(template) as ((Object) => boolean); return values.every(m); } + +const options = { + match = match, + exact = exact, + optional = optional, + alternative = alternative, + array = array +}; +export default options; -- cgit v1.2.1