massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-tsserver / node_modules / typescript / lib / lib.es2015.core.d.ts
index 9676fce909b6fa56ed305cba972c3a10898ab52f..fd7ea2ad9e3783f33a06dcfbb8686af1b0376242 100644 (file)
@@ -43,7 +43,7 @@ interface Array<T> {
     findIndex(predicate: (value: T, index: number, obj: T[]) => unknown, thisArg?: any): number;\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
@@ -268,8 +268,8 @@ interface NumberConstructor {
 \r
     /**\r
      * Converts A string to an integer.\r
-     * @param s A string to convert into a number.\r
-     * @param radix A value between 2 and 36 that specifies the base of the number in numString.\r
+     * @param string A string to convert into a number.\r
+     * @param radix A value between 2 and 36 that specifies the base of the number in `string`.\r
      * If this argument is not supplied, strings with a prefix of '0x' are considered hexadecimal.\r
      * All other strings are considered decimal.\r
      */\r
@@ -455,47 +455,87 @@ interface String {
 \r
     /**\r
      * Returns an `<a>` HTML anchor element and sets the name attribute to the text value\r
+     * @deprecated A legacy feature for browser compatibility\r
      * @param name\r
      */\r
     anchor(name: string): string;\r
 \r
-    /** Returns a `<big>` HTML element */\r
+    /**\r
+     * Returns a `<big>` HTML element\r
+     * @deprecated A legacy feature for browser compatibility\r
+     */\r
     big(): string;\r
 \r
-    /** Returns a `<blink>` HTML element */\r
+    /**\r
+     * Returns a `<blink>` HTML element\r
+     * @deprecated A legacy feature for browser compatibility\r
+     */\r
     blink(): string;\r
 \r
-    /** Returns a `<b>` HTML element */\r
+    /**\r
+     * Returns a `<b>` HTML element\r
+     * @deprecated A legacy feature for browser compatibility\r
+     */\r
     bold(): string;\r
 \r
-    /** Returns a `<tt>` HTML element */\r
+    /**\r
+     * Returns a `<tt>` HTML element\r
+     * @deprecated A legacy feature for browser compatibility\r
+     */\r
     fixed(): string;\r
 \r
-    /** Returns a `<font>` HTML element and sets the color attribute value */\r
+    /**\r
+     * Returns a `<font>` HTML element and sets the color attribute value\r
+     * @deprecated A legacy feature for browser compatibility\r
+     */\r
     fontcolor(color: string): string;\r
 \r
-    /** Returns a `<font>` HTML element and sets the size attribute value */\r
+    /**\r
+     * Returns a `<font>` HTML element and sets the size attribute value\r
+     * @deprecated A legacy feature for browser compatibility\r
+     */\r
     fontsize(size: number): string;\r
 \r
-    /** Returns a `<font>` HTML element and sets the size attribute value */\r
+    /**\r
+     * Returns a `<font>` HTML element and sets the size attribute value\r
+     * @deprecated A legacy feature for browser compatibility\r
+     */\r
     fontsize(size: string): string;\r
 \r
-    /** Returns an `<i>` HTML element */\r
+    /**\r
+     * Returns an `<i>` HTML element\r
+     * @deprecated A legacy feature for browser compatibility\r
+     */\r
     italics(): string;\r
 \r
-    /** Returns an `<a>` HTML element and sets the href attribute value */\r
+    /**\r
+     * Returns an `<a>` HTML element and sets the href attribute value\r
+     * @deprecated A legacy feature for browser compatibility\r
+     */\r
     link(url: string): string;\r
 \r
-    /** Returns a `<small>` HTML element */\r
+    /**\r
+     * Returns a `<small>` HTML element\r
+     * @deprecated A legacy feature for browser compatibility\r
+     */\r
     small(): string;\r
 \r
-    /** Returns a `<strike>` HTML element */\r
+    /**\r
+     * Returns a `<strike>` HTML element\r
+     * @deprecated A legacy feature for browser compatibility\r
+     */\r
     strike(): string;\r
 \r
-    /** Returns a `<sub>` HTML element */\r
+    /**\r
+     * Returns a `<sub>` HTML element\r
+     * @deprecated A legacy feature for browser compatibility\r
+     */\r
     sub(): string;\r
 \r
-    /** Returns a `<sup>` HTML element */\r
+    /**\r
+     * Returns a `<sup>` HTML element\r
+     * @deprecated A legacy feature for browser compatibility\r
+     */\r
     sup(): string;\r
 }\r
 \r
@@ -507,11 +547,13 @@ interface StringConstructor {
     fromCodePoint(...codePoints: number[]): string;\r
 \r
     /**\r
-     * String.raw is intended for use as a tag function of a Tagged Template String. When called\r
-     * as such the first argument will be a well formed template call site object and the rest\r
-     * parameter will contain the substitution values.\r
+     * String.raw is usually used as a tag function of a Tagged Template String. When called as\r
+     * such, the first argument will be a well formed template call site object and the rest\r
+     * parameter will contain the substitution values. It can also be called directly, for example,\r
+     * to interleave strings and values from your own tag function, and in this case the only thing\r
+     * it needs from the first argument is the raw property.\r
      * @param template A well-formed template string call site representation.\r
      * @param substitutions A set of substitution values.\r
      */\r
-    raw(template: TemplateStringsArray, ...substitutions: any[]): string;\r
+    raw(template: { raw: readonly string[] | ArrayLike<string>}, ...substitutions: any[]): string;\r
 }\r