X-Git-Url: https://git.josue.xyz/?p=dotfiles%2F.git;a=blobdiff_plain;f=.config%2Fcoc%2Fextensions%2Fnode_modules%2Fcoc-tsserver%2Fnode_modules%2Ftypescript%2Flib%2Flib.es2015.core.d.ts;h=fd7ea2ad9e3783f33a06dcfbb8686af1b0376242;hp=9676fce909b6fa56ed305cba972c3a10898ab52f;hb=3be0a9efc698a9570a44456009afc6014812625a;hpb=d2f432cc757f42f0318fdddcab8c00b240d47088 diff --git a/.config/coc/extensions/node_modules/coc-tsserver/node_modules/typescript/lib/lib.es2015.core.d.ts b/.config/coc/extensions/node_modules/coc-tsserver/node_modules/typescript/lib/lib.es2015.core.d.ts index 9676fce9..fd7ea2ad 100644 --- a/.config/coc/extensions/node_modules/coc-tsserver/node_modules/typescript/lib/lib.es2015.core.d.ts +++ b/.config/coc/extensions/node_modules/coc-tsserver/node_modules/typescript/lib/lib.es2015.core.d.ts @@ -43,7 +43,7 @@ interface Array { findIndex(predicate: (value: T, index: number, obj: T[]) => unknown, thisArg?: any): number; /** - * Returns the this object after filling the section identified by start and end with value + * Changes all array elements from `start` to `end` index to a static `value` and returns the modified array * @param value value to fill array section with * @param start index to start filling the array at. If start is negative, it is treated as * length+start where length is the length of the array. @@ -268,8 +268,8 @@ interface NumberConstructor { /** * Converts A string to an integer. - * @param s A string to convert into a number. - * @param radix A value between 2 and 36 that specifies the base of the number in numString. + * @param string A string to convert into a number. + * @param radix A value between 2 and 36 that specifies the base of the number in `string`. * If this argument is not supplied, strings with a prefix of '0x' are considered hexadecimal. * All other strings are considered decimal. */ @@ -455,47 +455,87 @@ interface String { /** * Returns an `` HTML anchor element and sets the name attribute to the text value + * @deprecated A legacy feature for browser compatibility * @param name */ anchor(name: string): string; - /** Returns a `` HTML element */ + /** + * Returns a `` HTML element + * @deprecated A legacy feature for browser compatibility + */ big(): string; - /** Returns a `` HTML element */ + /** + * Returns a `` HTML element + * @deprecated A legacy feature for browser compatibility + */ blink(): string; - /** Returns a `` HTML element */ + /** + * Returns a `` HTML element + * @deprecated A legacy feature for browser compatibility + */ bold(): string; - /** Returns a `` HTML element */ + /** + * Returns a `` HTML element + * @deprecated A legacy feature for browser compatibility + */ fixed(): string; - /** Returns a `` HTML element and sets the color attribute value */ + /** + * Returns a `` HTML element and sets the color attribute value + * @deprecated A legacy feature for browser compatibility + */ fontcolor(color: string): string; - /** Returns a `` HTML element and sets the size attribute value */ + /** + * Returns a `` HTML element and sets the size attribute value + * @deprecated A legacy feature for browser compatibility + */ fontsize(size: number): string; - /** Returns a `` HTML element and sets the size attribute value */ + /** + * Returns a `` HTML element and sets the size attribute value + * @deprecated A legacy feature for browser compatibility + */ fontsize(size: string): string; - /** Returns an `` HTML element */ + /** + * Returns an `` HTML element + * @deprecated A legacy feature for browser compatibility + */ italics(): string; - /** Returns an `` HTML element and sets the href attribute value */ + /** + * Returns an `` HTML element and sets the href attribute value + * @deprecated A legacy feature for browser compatibility + */ link(url: string): string; - /** Returns a `` HTML element */ + /** + * Returns a `` HTML element + * @deprecated A legacy feature for browser compatibility + */ small(): string; - /** Returns a `` HTML element */ + /** + * Returns a `` HTML element + * @deprecated A legacy feature for browser compatibility + */ strike(): string; - /** Returns a `` HTML element */ + /** + * Returns a `` HTML element + * @deprecated A legacy feature for browser compatibility + */ sub(): string; - /** Returns a `` HTML element */ + /** + * Returns a `` HTML element + * @deprecated A legacy feature for browser compatibility + */ sup(): string; } @@ -507,11 +547,13 @@ interface StringConstructor { fromCodePoint(...codePoints: number[]): string; /** - * String.raw is intended for use as a tag function of a Tagged Template String. When called - * as such the first argument will be a well formed template call site object and the rest - * parameter will contain the substitution values. + * String.raw is usually used as a tag function of a Tagged Template String. When called as + * such, the first argument will be a well formed template call site object and the rest + * parameter will contain the substitution values. It can also be called directly, for example, + * to interleave strings and values from your own tag function, and in this case the only thing + * it needs from the first argument is the raw property. * @param template A well-formed template string call site representation. * @param substitutions A set of substitution values. */ - raw(template: TemplateStringsArray, ...substitutions: any[]): string; + raw(template: { raw: readonly string[] | ArrayLike}, ...substitutions: any[]): string; }