massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-tsserver / node_modules / typescript / lib / lib.es2020.bigint.d.ts
index 5811f4671d93a62b44335c91aea8af5e57f5030e..5945619429e9d97ddb9b6975e549e4326dad0add 100644 (file)
@@ -121,7 +121,7 @@ interface BigInt {
 }\r
 \r
 interface BigIntConstructor {\r
-    (value?: any): bigint;\r
+    (value: bigint | boolean | number | string): bigint;\r
     readonly prototype: BigInt;\r
 \r
     /**\r
@@ -184,7 +184,7 @@ interface BigInt64Array {
     every(predicate: (value: bigint, index: number, array: BigInt64Array) => boolean, thisArg?: any): boolean;\r
 \r
     /**\r
-     * Returns the this object after filling the section identified by start and end with value\r
+     * Changes all array elements from `start` to `end` index to a static `value` and returns the modified array\r
      * @param value value to fill array section with\r
      * @param start index to start filling the array at. If start is negative, it is treated as\r
      * length+start where length is the length of the array.\r
@@ -456,7 +456,7 @@ interface BigUint64Array {
     every(predicate: (value: bigint, index: number, array: BigUint64Array) => boolean, thisArg?: any): boolean;\r
 \r
     /**\r
-     * Returns the this object after filling the section identified by start and end with value\r
+     * Changes all array elements from `start` to `end` index to a static `value` and returns the modified array\r
      * @param value value to fill array section with\r
      * @param start index to start filling the array at. If start is negative, it is treated as\r
      * length+start where length is the length of the array.\r