diff options
Diffstat (limited to 'src/matcher')
| -rw-r--r-- | src/matcher/index.ts | 4 | ||||
| -rw-r--r-- | src/matcher/options.ts | 6 |
2 files changed, 9 insertions, 1 deletions
diff --git a/src/matcher/index.ts b/src/matcher/index.ts index 0806907..e7c2f88 100644 --- a/src/matcher/index.ts +++ b/src/matcher/index.ts @@ -5,7 +5,9 @@ export { exact, optional, alternative, - array + array, + match, + metadata } from './options'; export { diff --git a/src/matcher/options.ts b/src/matcher/options.ts index 62e4985..0bad627 100644 --- a/src/matcher/options.ts +++ b/src/matcher/options.ts @@ -89,6 +89,12 @@ export const array = (template: TemplateValue, values?: Value[]) => { }; // tslint:disable-next-line:typedef +export const metadata = exact({ + version: types.integer, + namespaces: {} +}); + +// tslint:disable-next-line:typedef const options = { match, exact, |
