thx kuanyui for the advice

This commit is contained in:
Tan, Kian-ting 2023-09-06 00:43:00 +08:00
parent 646576d56f
commit e2668789e2

View 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