Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita09a3d7

Browse files
authored
AddStdlib.TypedArray completions to stdlib typed array types (#7827)
* Add failing test for typed array completions* Add `@editor.completeFrom(Stdlib.TypedArray)` decorator to typed arrays to improve completion* Add CHANGELOG entry
1 parente0528c0 commita09a3d7

14 files changed

+7645
-0
lines changed

‎CHANGELOG.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020

2121
####:bug: Bug fix
2222

23+
- Show`Stdlib.TypedArray` completions for typed arrays.https://github.com/rescript-lang/rescript/pull/7827
2324
- Show`Stdlib.Null` and`Stdlib.Nullable` completions for`Stdlib.null<'a>` and`Stdlib.nullable<'a>` types, respectively.https://github.com/rescript-lang/rescript/pull/7826
2425
- Fix generation of interfaces for module types containing multiple type constraints.https://github.com/rescript-lang/rescript/pull/7825
2526

‎packages/@rescript/runtime/Stdlib_BigInt64Array.res‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/** The `BigInt64Array` typed array represents an array of 64-bit signed integers in platform byte order. See [BigInt64Array on MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt64Array)
22
*/
3+
@editor.completeFrom(Stdlib.TypedArray)
34
typet=Stdlib_TypedArray.t<bigint>
45

56
moduleConstants= {

‎packages/@rescript/runtime/Stdlib_BigUint64Array.res‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/** The `BigUint64Array` typed array represents an array of 64-bit unsigned integers in platform byte order. See [BigUint64Array on MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigUint64Array)
22
*/
3+
@editor.completeFrom(Stdlib.TypedArray)
34
typet=Stdlib_TypedArray.t<bigint>
45

56
moduleConstants= {

‎packages/@rescript/runtime/Stdlib_Float32Array.res‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/** The `Float32Array` typed array represents an array of 32-bit floating point numbers in platform byte order. See [Float32Array on MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float32Array)
22
*/
3+
@editor.completeFrom(Stdlib.TypedArray)
34
typet=Stdlib_TypedArray.t<float>
45

56
moduleConstants= {

‎packages/@rescript/runtime/Stdlib_Float64Array.res‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/** The `Float64Array` typed array represents an array of 64-bit floating point numbers in platform byte order. See [Float64Array on MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float64Array)
22
*/
3+
@editor.completeFrom(Stdlib.TypedArray)
34
typet=Stdlib_TypedArray.t<float>
45

56
moduleConstants= {

‎packages/@rescript/runtime/Stdlib_Int16Array.res‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/** The `Int16Array` typed array represents an array of twos-complement 16-bit signed integers in platform byte order. See [Int16Array on MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int16Array)
22
*/
3+
@editor.completeFrom(Stdlib.TypedArray)
34
typet=Stdlib_TypedArray.t<int>
45

56
moduleConstants= {

‎packages/@rescript/runtime/Stdlib_Int32Array.res‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/** The `Int32Array` typed array represents an array of twos-complemenet 32-bit signed integers in platform byte order. See [Int32Array on MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int32Array)
22
*/
3+
@editor.completeFrom(Stdlib.TypedArray)
34
typet=Stdlib_TypedArray.t<int>
45

56
moduleConstants= {

‎packages/@rescript/runtime/Stdlib_Int8Array.res‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/** The `Int8Array` typed array represents an array of twos-complement 8-bit signed integers. See [Int8Array on MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int8Array)
22
*/
3+
@editor.completeFrom(Stdlib.TypedArray)
34
typet=Stdlib_TypedArray.t<int>
45

56
moduleConstants= {

‎packages/@rescript/runtime/Stdlib_Uint16Array.res‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/** The `Uint16Array` typed array represents an array of 16-bit unsigned integers in platform byte order. See [Uint16Array on MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint16Array)
22
*/
3+
@editor.completeFrom(Stdlib.TypedArray)
34
typet=Stdlib_TypedArray.t<int>
45

56
moduleConstants= {

‎packages/@rescript/runtime/Stdlib_Uint32Array.res‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/** The `Uint32Array` typed array represents an array of 32-bit unsigned integers in platform byte order. See [Uint32Array on MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint32Array)
22
*/
3+
@editor.completeFrom(Stdlib.TypedArray)
34
typet=Stdlib_TypedArray.t<int>
45

56
moduleConstants= {

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp