Step 1: Type Definition
Extend the RegExpToken interface
Only required for TypeScript users
To maintain strong typing on custom tokens, you should extend the built-in RegExpToken
interface with the type of your custom token.
Last updated
Extend the RegExpToken interface
Only required for TypeScript users
To maintain strong typing on custom tokens, you should extend the built-in RegExpToken
interface with the type of your custom token.
Last updated