Skip to content

Commit afddaf0

Browse files
authored
Fix declaration for Array.prototype[Symbol.unscopables] (#36540)
1 parent fcf2850 commit afddaf0

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

lib/lib.es2015.symbol.wellknown.d.ts

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
/*! *****************************************************************************
2-
Copyright (c) Microsoft Corporation. All rights reserved.
2+
Copyright (c) Microsoft Corporation. All rights reserved.
33
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
44
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-
5+
License at http://www.apache.org/licenses/LICENSE-2.0
6+
77
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
88
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-
9+
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
10+
MERCHANTABLITY OR NON-INFRINGEMENT.
11+
1212
See the Apache Version 2.0 License for specific language governing permissions
1313
and limitations under the License.
1414
***************************************************************************** */
@@ -91,7 +91,7 @@ interface Array<T> {
9191
* Returns an object whose properties have the value 'true'
9292
* when they will be absent when used in a 'with' statement.
9393
*/
94-
[Symbol.unscopables](): {
94+
[Symbol.unscopables]: {
9595
copyWithin: boolean;
9696
entries: boolean;
9797
fill: boolean;

0 commit comments

Comments
 (0)