Giant blob of minor changes
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / prettier-eslint / node_modules / typescript / lib / lib.es2016.array.include.d.ts
1 /*! *****************************************************************************
2 Copyright (c) Microsoft Corporation. All rights reserved.
3 Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4 this file except in compliance with the License. You may obtain a copy of the
5 License at http://www.apache.org/licenses/LICENSE-2.0
6
7 THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8 KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
9 WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
10 MERCHANTABLITY OR NON-INFRINGEMENT.
11
12 See the Apache Version 2.0 License for specific language governing permissions
13 and limitations under the License.
14 ***************************************************************************** */
15
16
17
18 /// <reference no-default-lib="true"/>\r
19
20
21 interface Array<T> {\r
22     /**\r
23      * Determines whether an array includes a certain element, returning true or false as appropriate.\r
24      * @param searchElement The element to search for.\r
25      * @param fromIndex The position in this array at which to begin searching for searchElement.\r
26      */\r
27     includes(searchElement: T, fromIndex?: number): boolean;\r
28 }\r
29 \r
30 interface ReadonlyArray<T> {\r
31     /**\r
32      * Determines whether an array includes a certain element, returning true or false as appropriate.\r
33      * @param searchElement The element to search for.\r
34      * @param fromIndex The position in this array at which to begin searching for searchElement.\r
35      */\r
36     includes(searchElement: T, fromIndex?: number): boolean;\r
37 }\r
38 \r
39 interface Int8Array {\r
40     /**\r
41      * Determines whether an array includes a certain element, returning true or false as appropriate.\r
42      * @param searchElement The element to search for.\r
43      * @param fromIndex The position in this array at which to begin searching for searchElement.\r
44      */\r
45     includes(searchElement: number, fromIndex?: number): boolean;\r
46 }\r
47 \r
48 interface Uint8Array {\r
49     /**\r
50      * Determines whether an array includes a certain element, returning true or false as appropriate.\r
51      * @param searchElement The element to search for.\r
52      * @param fromIndex The position in this array at which to begin searching for searchElement.\r
53      */\r
54     includes(searchElement: number, fromIndex?: number): boolean;\r
55 }\r
56 \r
57 interface Uint8ClampedArray {\r
58     /**\r
59      * Determines whether an array includes a certain element, returning true or false as appropriate.\r
60      * @param searchElement The element to search for.\r
61      * @param fromIndex The position in this array at which to begin searching for searchElement.\r
62      */\r
63     includes(searchElement: number, fromIndex?: number): boolean;\r
64 }\r
65 \r
66 interface Int16Array {\r
67     /**\r
68      * Determines whether an array includes a certain element, returning true or false as appropriate.\r
69      * @param searchElement The element to search for.\r
70      * @param fromIndex The position in this array at which to begin searching for searchElement.\r
71      */\r
72     includes(searchElement: number, fromIndex?: number): boolean;\r
73 }\r
74 \r
75 interface Uint16Array {\r
76     /**\r
77      * Determines whether an array includes a certain element, returning true or false as appropriate.\r
78      * @param searchElement The element to search for.\r
79      * @param fromIndex The position in this array at which to begin searching for searchElement.\r
80      */\r
81     includes(searchElement: number, fromIndex?: number): boolean;\r
82 }\r
83 \r
84 interface Int32Array {\r
85     /**\r
86      * Determines whether an array includes a certain element, returning true or false as appropriate.\r
87      * @param searchElement The element to search for.\r
88      * @param fromIndex The position in this array at which to begin searching for searchElement.\r
89      */\r
90     includes(searchElement: number, fromIndex?: number): boolean;\r
91 }\r
92 \r
93 interface Uint32Array {\r
94     /**\r
95      * Determines whether an array includes a certain element, returning true or false as appropriate.\r
96      * @param searchElement The element to search for.\r
97      * @param fromIndex The position in this array at which to begin searching for searchElement.\r
98      */\r
99     includes(searchElement: number, fromIndex?: number): boolean;\r
100 }\r
101 \r
102 interface Float32Array {\r
103     /**\r
104      * Determines whether an array includes a certain element, returning true or false as appropriate.\r
105      * @param searchElement The element to search for.\r
106      * @param fromIndex The position in this array at which to begin searching for searchElement.\r
107      */\r
108     includes(searchElement: number, fromIndex?: number): boolean;\r
109 }\r
110 \r
111 interface Float64Array {\r
112     /**\r
113      * Determines whether an array includes a certain element, returning true or false as appropriate.\r
114      * @param searchElement The element to search for.\r
115      * @param fromIndex The position in this array at which to begin searching for searchElement.\r
116      */\r
117     includes(searchElement: number, fromIndex?: number): boolean;\r
118 }