Token type

type Token = string | StringLike | TokenFactory