Skip to content

Conversation

MaxGraey
Copy link
Member

@MaxGraey MaxGraey commented Jul 27, 2022

Now it accepts ArrayLike<number> which allow doing this:

let arr = new Uint32Array(3);
arr.set([1, 2, 3]);

without warnings

  • Additionally refactor TypedArray#set and some definitions
  • I've read the contributing guidelines
  • I've added my name and email to the NOTICE file

@MaxGraey MaxGraey merged commit 7db1006 into AssemblyScript:main Aug 7, 2022
@MaxGraey MaxGraey deleted the fix-typedarr-set-defs branch August 7, 2022 05:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants