Skip to content

Commit de71269

Browse files
committed
update Intl definition to match latest
1 parent 94ed937 commit de71269

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/poor-fans-punch.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"unicode-segmenter": patch
3+
---
4+
5+
Update `Intl` type definition

src/intl-adapter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ class SegmentsAdapter {
7979
}
8080

8181
/**
82-
* @return {IterableIterator<Intl.SegmentData>}
82+
* @return {Intl.SegmentIterator<Intl.SegmentData>}
8383
*/
8484
*[Symbol.iterator]() {
8585
// only grapheme segmenter is currently provided

0 commit comments

Comments
 (0)