Commit bde4671
committed
feat!: move
This commit addresses an awkward inconsistency in which a `Collection`
was included in the `object` type module, despite being defined as
a union of `array` type definitions. By moving `Collection` into
`array` we make the import of `Collection` more intuitive given its
semantic relationship to array-like objects.
BREAKING CHANGE: move `Collection` type defn to array type module
To migrate, users should import `@stdlib/types/array` instead of
`@stdlib/types/object` when using the `Collection` type definition.Collection type defn to array type module1 parent 32a2827 commit bde4671
2 files changed
+15
-16
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
153 | | - | |
| 153 | + | |
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
| |||
525 | 525 | | |
526 | 526 | | |
527 | 527 | | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
528 | 536 | | |
529 | 537 | | |
530 | 538 | | |
| |||
732 | 740 | | |
733 | 741 | | |
734 | 742 | | |
735 | | - | |
| 743 | + | |
736 | 744 | | |
737 | | - | |
738 | 745 | | |
739 | 746 | | |
740 | 747 | | |
| |||
2511 | 2518 | | |
2512 | 2519 | | |
2513 | 2520 | | |
2514 | | - | |
2515 | | - | |
2516 | | - | |
2517 | | - | |
2518 | | - | |
2519 | | - | |
2520 | | - | |
2521 | | - | |
2522 | 2521 | | |
2523 | 2522 | | |
2524 | 2523 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
355 | 355 | | |
356 | 356 | | |
357 | 357 | | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
358 | 363 | | |
359 | 364 | | |
360 | 365 | | |
| |||
534 | 539 | | |
535 | 540 | | |
536 | 541 | | |
537 | | - | |
538 | | - | |
539 | | - | |
540 | | - | |
541 | | - | |
542 | 542 | | |
543 | 543 | | |
544 | 544 | | |
| |||
0 commit comments