From: Tan Kian-ting Date: Tue, 5 Sep 2023 16:43:00 +0000 (+0800) Subject: thx kuanyui for the advice X-Git-Url: https://git.kianting.info/?a=commitdiff_plain;h=e2668789e238707fa38ce3e724e3b64fba5d53b3;p=clo thx kuanyui for the advice --- 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