Skip to content

Commit 4424599

Browse files
CopilotChALkeR
andcommitted
Replace "Will throw" with "Throws" in docs
Co-authored-by: ChALkeR <291301+ChALkeR@users.noreply.github.com>
1 parent 3d00300 commit 4424599

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ those alias to `new TextDecoder('windows-1252')`.
244244

245245
Encode a string to `iso-8859-1` bytes.
246246

247-
Will throw on non well-formed strings or any codepoints which could not be encoded in `iso-8859-1`.
247+
Throws on non well-formed strings or any codepoints which could not be encoded in `iso-8859-1`.
248248

249249
Same as:
250250
```js
@@ -266,7 +266,7 @@ const windows1252toString = createSinglebyteDecoder('windows-1252')
266266

267267
Encode a string to `windows-1252` bytes.
268268

269-
Will throw on non well-formed strings or any codepoints which could not be encoded in `windows-1252`.
269+
Throws on non well-formed strings or any codepoints which could not be encoded in `windows-1252`.
270270

271271
Same as:
272272
```js

single-byte.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ export const latin1toString: (arr: Uint8ArrayBuffer) => string;
100100
/**
101101
* Encode a string to `iso-8859-1` bytes.
102102
*
103-
* Will throw on non well-formed strings or any codepoints which could not be encoded in `iso-8859-1`.
103+
* Throws on non well-formed strings or any codepoints which could not be encoded in `iso-8859-1`.
104104
*
105105
* Same as:
106106
* ```js
@@ -130,7 +130,7 @@ export const windows1252toString: (arr: Uint8ArrayBuffer) => string;
130130
/**
131131
* Encode a string to `windows-1252` bytes.
132132
*
133-
* Will throw on non well-formed strings or any codepoints which could not be encoded in `windows-1252`.
133+
* Throws on non well-formed strings or any codepoints which could not be encoded in `windows-1252`.
134134
*
135135
* Same as:
136136
* ```js

0 commit comments

Comments
 (0)