diff options
| author | Tom Harley | 2018-02-09 05:59:48 +0000 |
|---|---|---|
| committer | Tom Harley | 2018-02-09 05:59:48 +0000 |
| commit | 7913e19e2f83296dc96a67e6437f6006b1d894ac (patch) | |
| tree | 728e9ac392f6d6fbb179586659329355a36826a5 /src/matcher/options.ts | |
| parent | Merge branch 'auth' into trh/middleware (diff) | |
| download | medicine-7913e19e2f83296dc96a67e6437f6006b1d894ac.tar.gz medicine-7913e19e2f83296dc96a67e6437f6006b1d894ac.zip | |
various work I forgot to commit
Diffstat (limited to 'src/matcher/options.ts')
| -rw-r--r-- | src/matcher/options.ts | 9 |
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; |
