aboutsummaryrefslogtreecommitdiff
path: root/src/matcher/options.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/matcher/options.ts')
-rw-r--r--src/matcher/options.ts9
1 files changed, 9 insertions, 0 deletions
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<Object>) {
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;