mirror of
https://activitypub.software/TransFem-org/sfm-js
synced 2024-11-24 15:05:14 +00:00
lint
This commit is contained in:
parent
42a8f0d44d
commit
71857405ae
1 changed files with 1 additions and 1 deletions
|
@ -316,7 +316,7 @@ export function notMatch(parser: Parser<unknown>): Parser<null> {
|
|||
* @returns A {@link Failure} object if `parserExcluded` succeeds, or if `parserIncluded` fails, and a {@link Success} object
|
||||
* otherwise.
|
||||
*/
|
||||
export function difference(parserIncluded: Parser<any>, parserExcluded: Parser<any>): Parser<string> {
|
||||
export function difference(parserIncluded: Parser<unknown>, parserExcluded: Parser<unknown>): Parser<string> {
|
||||
return new Parser((input, index, state) => {
|
||||
const exclude = parserExcluded.handler(input, index, state);
|
||||
|
||||
|
|
Loading…
Reference in a new issue