]> git.kianting.info Git - clo/commitdiff
thx kuanyui for the advice
authorTan Kian-ting <chenjt30@gmail.com>
Tue, 5 Sep 2023 16:43:00 +0000 (00:43 +0800)
committerTan Kian-ting <chenjt30@gmail.com>
Tue, 5 Sep 2023 16:43:00 +0000 (00:43 +0800)
src/index.ts

index 7ab5f5f48638b2ae6e3e3669d52ae552593c04ff..8cbd145671c4508ca55759035ba2da57c1edcccb 100644 (file)
@@ -27,10 +27,13 @@ export type Maybe<T> = Some<T> | 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