Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tiny tiny typo in tokenParseReducer.ts #1139

Open
Failbait opened this issue Mar 5, 2024 · 0 comments
Open

Tiny tiny typo in tokenParseReducer.ts #1139

Failbait opened this issue Mar 5, 2024 · 0 comments

Comments

@Failbait
Copy link

Failbait commented Mar 5, 2024

Love the marbles, but there is this tiny spelling/typo error in tokenParseReducer.ts line 89, that I get to see quite often (because I suck at writing tests):

const validateTimeFrameToken = (acc: TokenParseAccumulator) => {   
  if (acc.expandingTokenCount > 0 || acc.simultaneousGrouped) {  
    throw new Error('Incorret timeframe specified');  
  }  
};

Should be:

const validateTimeFrameToken = (acc: TokenParseAccumulator) => {
  if (acc.expandingTokenCount > 0 || acc.simultaneousGrouped) {
    throw new Error('Incorrect timeframe specified');
  }
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant