Commit 7ae5741
committed
feat!: update minimum TypeScript version
To leverage new TypeScript features, we need to update the minimum TypeScript version to 4.1. Doing so allows us to take advantage of the various features across the stdlib code base: constructs like Record, Omit, or Partial, the keyof operator, type predicates, conditional types, and more. TypeScript versions older than 4.1 are not in widespread use, so this change should not affect most users, especially those who upgrade with each new TypeScript version.
BREAKING CHANGE: update minimum TypeScript version to 4.1
To migrate, users should upgrade their TypeScript version to at least version 4.1.
Private-ref: stdlib-js/todo#17131 parent a6edab8 commit 7ae5741
File tree
117 files changed
+117
-117
lines changed- lib/node_modules/@stdlib/ndarray
- array/docs/types
- base
- assert
- docs/types
- is-allowed-data-type-cast/docs/types
- is-buffer-length-compatible-shape/docs/types
- is-buffer-length-compatible/docs/types
- is-casting-mode/docs/types
- is-column-major-contiguous/docs/types
- is-column-major/docs/types
- is-complex-floating-point-data-type/docs/types
- is-contiguous/docs/types
- is-data-type/docs/types
- is-floating-point-data-type/docs/types
- is-index-mode/docs/types
- is-integer-data-type/docs/types
- is-numeric-data-type/docs/types
- is-order/docs/types
- is-read-only/docs/types
- is-real-data-type/docs/types
- is-real-floating-point-data-type/docs/types
- is-row-major-contiguous/docs/types
- is-row-major/docs/types
- is-safe-data-type-cast/docs/types
- is-same-kind-data-type-cast/docs/types
- is-signed-integer-data-type/docs/types
- is-single-segment-compatible/docs/types
- is-unsigned-integer-data-type/docs/types
- binary-loop-interchange-order/docs/types
- binary-tiling-block-size/docs/types
- bind2vind/docs/types
- broadcast-array/docs/types
- broadcast-scalar/docs/types
- broadcast-shapes/docs/types
- buffer-ctors/docs/types
- buffer-dtype/docs/types
- buffer/docs/types
- bytes-per-element/docs/types
- char2dtype/docs/types
- clamp-index/docs/types
- ctor/docs/types
- docs/types
- dtype-char/docs/types
- dtype-desc/docs/types
- dtype-enum2str/docs/types
- dtype-resolve-enum/docs/types
- dtype-resolve-str/docs/types
- dtype-str2enum/docs/types
- dtype2c/docs/types
- dtypes2signatures/docs/types
- empty-like/docs/types
- empty/docs/types
- expand-dimensions/docs/types
- from-scalar/docs/types
- function-object/docs/types
- ind2sub/docs/types
- ind/docs/types
- iteration-order/docs/types
- max-view-buffer-index/docs/types
- maybe-broadcast-array/docs/types
- meta-data-props/docs/types
- min-view-buffer-index/docs/types
- minmax-view-buffer-index/docs/types
- napi
- addon-arguments/docs/types
- docs/types
- dtype-string-to-dtype/docs/types
- typedarray-type-to-dtype/docs/types
- unary/docs/types
- ndarraylike2object/docs/types
- nonsingleton-dimensions/docs/types
- nullary-loop-interchange-order/docs/types
- nullary-tiling-block-size/docs/types
- nullary/docs/types
- numel/docs/types
- output-policy-enum2str/docs/types
- output-policy-resolve-enum/docs/types
- output-policy-resolve-str/docs/types
- output-policy-str2enum/docs/types
- prepend-singleton-dimensions/docs/types
- remove-singleton-dimensions/docs/types
- serialize-meta-data/docs/types
- shape2strides/docs/types
- singleton-dimensions/docs/types
- strides2offset/docs/types
- strides2order/docs/types
- sub2ind/docs/types
- to-array/docs/types
- transpose/docs/types
- unary-by/docs/types
- unary-loop-interchange-order/docs/types
- unary-output-dtype/docs/types
- unary-tiling-block-size/docs/types
- unary/docs/types
- vind2bind/docs/types
- wrap-index/docs/types
- zeros-like/docs/types
- zeros/docs/types
- casting-modes/docs/types
- ctor/docs/types
- defaults/docs/types
- dispatch/docs/types
- docs/types
- dtypes/docs/types
- empty-like/docs/types
- empty/docs/types
- from-scalar/docs/types
- ind2sub/docs/types
- index-modes/docs/types
- min-dtype/docs/types
- next-dtype/docs/types
- orders/docs/types
- output-dtype-policies/docs/types
- promotion-rules/docs/types
- safe-casts/docs/types
- same-kind-casts/docs/types
- sub2ind/docs/types
- to-array/docs/types
- zeros-like/docs/types
- zeros/docs/types
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
117 files changed
+117
-117
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
0 commit comments