-
Notifications
You must be signed in to change notification settings - Fork 170
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change Buffer to Uint8Array in node/index.d.ts (#530)
This makes it easier to use the interfaces from non-Node contexts like Deno (e.g. Deno.readFile returns an Uint8Array[1]). The Buffer interface extends Uint8Array so this change should be compatible. [1]: https://deno.land/api@v1.34.3?s=Deno.readFile
- Loading branch information
1 parent
4956d9b
commit 0f30348
Showing
1 changed file
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters