Giant blob of minor changes
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / prettier-eslint / node_modules / typescript / lib / lib.es2017.object.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 ObjectConstructor {\r
22     /**\r
23      * Returns an array of values of the enumerable properties of an object\r
24      * @param o Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.\r
25      */\r
26     values<T>(o: { [s: string]: T } | ArrayLike<T>): T[];\r
27 \r
28     /**\r
29      * Returns an array of values of the enumerable properties of an object\r
30      * @param o Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.\r
31      */\r
32     values(o: {}): any[];\r
33 \r
34     /**\r
35      * Returns an array of key/values of the enumerable properties of an object\r
36      * @param o Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.\r
37      */\r
38     entries<T>(o: { [s: string]: T } | ArrayLike<T>): [string, T][];\r
39 \r
40     /**\r
41      * Returns an array of key/values of the enumerable properties of an object\r
42      * @param o Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.\r
43      */\r
44     entries(o: {}): [string, any][];\r
45 \r
46     /**\r
47      * Returns an object containing all own property descriptors of an object\r
48      * @param o Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.\r
49      */\r
50     getOwnPropertyDescriptors<T>(o: T): {[P in keyof T]: TypedPropertyDescriptor<T[P]>} & { [x: string]: PropertyDescriptor };\r
51 }\r