From 9174eccd32e280cae8197c22f82d566ce2c08100 Mon Sep 17 00:00:00 2001 From: bobo96run <79259815+bobo96run@users.noreply.github.com> Date: Mon, 13 Sep 2021 19:20:28 +0400 Subject: [PATCH] docs(types): fix match option accept null/false Fix #20 Add `null` and `false` possible values to `match` option, in order to prevent any `--match` flag or the `git-describe` command. Correctly handled by JS code (see #20) --- index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index 44c4b34..ec896e6 100644 --- a/index.d.ts +++ b/index.d.ts @@ -17,7 +17,7 @@ export type GitDescribeOptions = { long?: boolean; longSemver?: boolean; requireAnnotated?: boolean; - match?: string; + match?: null | false | string; customArguments?: Array; };