From e2668789e238707fa38ce3e724e3b64fba5d53b3 Mon Sep 17 00:00:00 2001 From: Tan Kian-ting Date: Wed, 6 Sep 2023 00:43:00 +0800 Subject: [PATCH] thx kuanyui for the advice --- src/index.ts | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/index.ts b/src/index.ts index 7ab5f5f..8cbd145 100644 --- a/src/index.ts +++ b/src/index.ts @@ -27,10 +27,13 @@ export type Maybe = Some | None; /** * @description * the pair of the string to be matched later and the string that have been matched - * @param matched : string have been matched - * @param remained : string will be tested whether it'll be matched. - */ -export type MatcheePair = {matched : string; remained : string}; +*/ +export interface MatcheePair { + /** have been matched */ + matched : string + /** will be tested whether it'll be matched. */ + remained : string +} /** * @description -- 2.39.2