Skip to content

Commit 56e6edf

Browse files
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#1713
1 parent cca37d0 commit 56e6edf

File tree

148 files changed

+148
-148
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

148 files changed

+148
-148
lines changed

lib/node_modules/@stdlib/constants/array/docs/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// TypeScript Version: 2.0
19+
// TypeScript Version: 4.1
2020

2121
/* tslint:disable:max-line-length */
2222
/* tslint:disable:max-file-line-count */

lib/node_modules/@stdlib/constants/array/max-array-length/docs/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// TypeScript Version: 2.0
19+
// TypeScript Version: 4.1
2020

2121
/**
2222
* Maximum length of a generic array.

lib/node_modules/@stdlib/constants/array/max-typed-array-length/docs/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// TypeScript Version: 2.0
19+
// TypeScript Version: 4.1
2020

2121
/**
2222
* Maximum length of a typed array.

lib/node_modules/@stdlib/constants/complex128/docs/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// TypeScript Version: 2.0
19+
// TypeScript Version: 4.1
2020

2121
/* tslint:disable:max-line-length */
2222
/* tslint:disable:max-file-line-count */

lib/node_modules/@stdlib/constants/complex128/num-bytes/docs/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// TypeScript Version: 2.0
19+
// TypeScript Version: 4.1
2020

2121
/**
2222
* Size (in bytes) of a 128-bit complex number.

lib/node_modules/@stdlib/constants/complex64/docs/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// TypeScript Version: 2.0
19+
// TypeScript Version: 4.1
2020

2121
/* tslint:disable:max-line-length */
2222
/* tslint:disable:max-file-line-count */

lib/node_modules/@stdlib/constants/complex64/num-bytes/docs/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// TypeScript Version: 2.0
19+
// TypeScript Version: 4.1
2020

2121
/**
2222
* Size (in bytes) of a 64-bit complex number.

lib/node_modules/@stdlib/constants/docs/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// TypeScript Version: 2.0
19+
// TypeScript Version: 4.1
2020

2121
/* tslint:disable:max-line-length */
2222
/* tslint:disable:max-file-line-count */

lib/node_modules/@stdlib/constants/float16/cbrt-eps/docs/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// TypeScript Version: 2.0
19+
// TypeScript Version: 4.1
2020

2121
/**
2222
* Cube root of half-precision floating-point epsilon.

lib/node_modules/@stdlib/constants/float16/docs/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// TypeScript Version: 2.0
19+
// TypeScript Version: 4.1
2020

2121
/* tslint:disable:max-line-length */
2222
/* tslint:disable:max-file-line-count */

lib/node_modules/@stdlib/constants/float16/eps/docs/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// TypeScript Version: 2.0
19+
// TypeScript Version: 4.1
2020

2121
/**
2222
* Difference between one and the smallest value greater than one that can be represented as a half-precision floating-point number.

lib/node_modules/@stdlib/constants/float16/exponent-bias/docs/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// TypeScript Version: 2.0
19+
// TypeScript Version: 4.1
2020

2121
/**
2222
* The bias of a half-precision floating-point number's exponent.

lib/node_modules/@stdlib/constants/float16/max-safe-integer/docs/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// TypeScript Version: 2.0
19+
// TypeScript Version: 4.1
2020

2121
/**
2222
* Maximum safe half-precision floating-point integer.

lib/node_modules/@stdlib/constants/float16/max/docs/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// TypeScript Version: 2.0
19+
// TypeScript Version: 4.1
2020

2121
/**
2222
* Maximum half-precision floating-point number.

lib/node_modules/@stdlib/constants/float16/min-safe-integer/docs/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// TypeScript Version: 2.0
19+
// TypeScript Version: 4.1
2020

2121
/**
2222
* Minimum safe half-precision floating-point integer.

lib/node_modules/@stdlib/constants/float16/ninf/docs/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// TypeScript Version: 2.0
19+
// TypeScript Version: 4.1
2020

2121
/**
2222
* Half-precision floating-point negative infinity.

lib/node_modules/@stdlib/constants/float16/num-bytes/docs/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// TypeScript Version: 2.0
19+
// TypeScript Version: 4.1
2020

2121
/**
2222
* Size (in bytes) of a half-precision floating-point number.

lib/node_modules/@stdlib/constants/float16/pinf/docs/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// TypeScript Version: 2.0
19+
// TypeScript Version: 4.1
2020

2121
/**
2222
* Half-precision floating-point positive infinity.

lib/node_modules/@stdlib/constants/float16/precision/docs/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// TypeScript Version: 2.0
19+
// TypeScript Version: 4.1
2020

2121
/**
2222
* Effective number of bits in the significand of a half-precision floating-point number.

lib/node_modules/@stdlib/constants/float16/smallest-normal/docs/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// TypeScript Version: 2.0
19+
// TypeScript Version: 4.1
2020

2121
/**
2222
* Smallest positive half-precision floating-point normal number.

lib/node_modules/@stdlib/constants/float16/smallest-subnormal/docs/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// TypeScript Version: 2.0
19+
// TypeScript Version: 4.1
2020

2121
/**
2222
* Smallest positive half-precision floating-point subnormal number.

lib/node_modules/@stdlib/constants/float16/sqrt-eps/docs/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// TypeScript Version: 2.0
19+
// TypeScript Version: 4.1
2020

2121
/**
2222
* Square root of half-precision floating-point epsilon.

lib/node_modules/@stdlib/constants/float32/abs-mask/docs/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// TypeScript Version: 2.0
19+
// TypeScript Version: 4.1
2020

2121
/**
2222
* Mask for excluding the sign bit of a single-precision floating-point number.

lib/node_modules/@stdlib/constants/float32/cbrt-eps/docs/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// TypeScript Version: 2.0
19+
// TypeScript Version: 4.1
2020

2121
/**
2222
* Cube root of single-precision floating-point epsilon.

lib/node_modules/@stdlib/constants/float32/docs/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// TypeScript Version: 2.0
19+
// TypeScript Version: 4.1
2020

2121
/* tslint:disable:max-line-length */
2222
/* tslint:disable:max-file-line-count */

lib/node_modules/@stdlib/constants/float32/eps/docs/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// TypeScript Version: 2.0
19+
// TypeScript Version: 4.1
2020

2121
/**
2222
* Difference between one and the smallest value greater than one that can be represented as a single-precision floating-point number.

lib/node_modules/@stdlib/constants/float32/exponent-bias/docs/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// TypeScript Version: 2.0
19+
// TypeScript Version: 4.1
2020

2121
/**
2222
* The bias of a single-precision floating-point number's exponent.

lib/node_modules/@stdlib/constants/float32/exponent-mask/docs/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// TypeScript Version: 2.0
19+
// TypeScript Version: 4.1
2020

2121
/**
2222
* Mask for the exponent of a single-precision floating-point number.

lib/node_modules/@stdlib/constants/float32/max-safe-integer/docs/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// TypeScript Version: 2.0
19+
// TypeScript Version: 4.1
2020

2121
/**
2222
* Maximum safe single-precision floating-point integer.

lib/node_modules/@stdlib/constants/float32/max/docs/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// TypeScript Version: 2.0
19+
// TypeScript Version: 4.1
2020

2121
/**
2222
* Maximum single-precision floating-point number.

lib/node_modules/@stdlib/constants/float32/min-safe-integer/docs/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// TypeScript Version: 2.0
19+
// TypeScript Version: 4.1
2020

2121
/**
2222
* Minimum safe single-precision floating-point integer.

lib/node_modules/@stdlib/constants/float32/ninf/docs/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// TypeScript Version: 2.0
19+
// TypeScript Version: 4.1
2020

2121
/**
2222
* Single-precision floating-point negative infinity.

lib/node_modules/@stdlib/constants/float32/num-bytes/docs/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// TypeScript Version: 2.0
19+
// TypeScript Version: 4.1
2020

2121
/**
2222
* Size (in bytes) of a single-precision floating-point number.

lib/node_modules/@stdlib/constants/float32/pinf/docs/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// TypeScript Version: 2.0
19+
// TypeScript Version: 4.1
2020

2121
/**
2222
* Single-precision floating-point positive infinity.

lib/node_modules/@stdlib/constants/float32/precision/docs/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// TypeScript Version: 2.0
19+
// TypeScript Version: 4.1
2020

2121
/**
2222
* Effective number of bits in the significand of a single-precision floating-point number.

lib/node_modules/@stdlib/constants/float32/sign-mask/docs/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// TypeScript Version: 2.0
19+
// TypeScript Version: 4.1
2020

2121
/**
2222
* Mask for the sign bit of a single-precision floating-point number.

lib/node_modules/@stdlib/constants/float32/significand-mask/docs/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// TypeScript Version: 2.0
19+
// TypeScript Version: 4.1
2020

2121
/**
2222
* Mask for the significand of a single-precision floating-point number.

lib/node_modules/@stdlib/constants/float32/smallest-normal/docs/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// TypeScript Version: 2.0
19+
// TypeScript Version: 4.1
2020

2121
/**
2222
* Smallest positive single-precision floating-point normal number.

lib/node_modules/@stdlib/constants/float32/smallest-subnormal/docs/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// TypeScript Version: 2.0
19+
// TypeScript Version: 4.1
2020

2121
/**
2222
* Smallest positive single-precision floating-point subnormal number.

lib/node_modules/@stdlib/constants/float32/sqrt-eps/docs/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// TypeScript Version: 2.0
19+
// TypeScript Version: 4.1
2020

2121
/**
2222
* Square root of single-precision floating-point epsilon.

lib/node_modules/@stdlib/constants/float64/apery/docs/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// TypeScript Version: 2.0
19+
// TypeScript Version: 4.1
2020

2121
/**
2222
* Apéry's constant.

lib/node_modules/@stdlib/constants/float64/catalan/docs/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// TypeScript Version: 2.0
19+
// TypeScript Version: 4.1
2020

2121
/**
2222
* Catalan's constant.

lib/node_modules/@stdlib/constants/float64/cbrt-eps/docs/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// TypeScript Version: 2.0
19+
// TypeScript Version: 4.1
2020

2121
/**
2222
* Cube root of double-precision floating-point epsilon.

lib/node_modules/@stdlib/constants/float64/docs/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// TypeScript Version: 2.0
19+
// TypeScript Version: 4.1
2020

2121
/* tslint:disable:max-line-length */
2222
/* tslint:disable:max-file-line-count */

0 commit comments

Comments
 (0)