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

fix: Use Uint8Array.forEach in base64FromBytes #544

Merged
merged 2 commits into from
Apr 8, 2022

Commits on Apr 4, 2022

  1. Use Uint8Array.forEach in base64FromBytes

    Otherwise, TypeScript 4.6.2 complains:
    
    TS2569: Type 'Uint8Array' is not an array type or a string type. Use compiler option '--downlevelIteration' to allow iterating of iterators.
        184 | function base64FromBytes(arr: Uint8Array): string {
        185 |   const bin: string[] = [];
      > 186 |   for (const byte of arr) {
            |                      ^^^
    douglasc-nflx committed Apr 4, 2022
    Configuration menu
    Copy the full SHA
    b95dfee View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2022

  1. Configuration menu
    Copy the full SHA
    b6435c8 View commit details
    Browse the repository at this point in the history