massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-tsserver / node_modules / typescript / lib / lib.es2015.symbol.wellknown.d.ts
index 8b727b851f1555e37b7229dde6376240da1a9a2e..932087eddb206f69911c92b62c92d9e6e0d0f309 100644 (file)
@@ -25,61 +25,61 @@ interface SymbolConstructor {
      * A method that determines if a constructor object recognizes an object as one of the\r
      * constructor’s instances. Called by the semantics of the instanceof operator.\r
      */\r
-    readonly hasInstance: symbol;\r
+    readonly hasInstance: unique symbol;\r
 \r
     /**\r
      * A Boolean value that if true indicates that an object should flatten to its array elements\r
      * by Array.prototype.concat.\r
      */\r
-    readonly isConcatSpreadable: symbol;\r
+    readonly isConcatSpreadable: unique symbol;\r
 \r
     /**\r
      * A regular expression method that matches the regular expression against a string. Called\r
      * by the String.prototype.match method.\r
      */\r
-    readonly match: symbol;\r
+    readonly match: unique symbol;\r
 \r
     /**\r
      * A regular expression method that replaces matched substrings of a string. Called by the\r
      * String.prototype.replace method.\r
      */\r
-    readonly replace: symbol;\r
+    readonly replace: unique symbol;\r
 \r
     /**\r
      * A regular expression method that returns the index within a string that matches the\r
      * regular expression. Called by the String.prototype.search method.\r
      */\r
-    readonly search: symbol;\r
+    readonly search: unique symbol;\r
 \r
     /**\r
      * A function valued property that is the constructor function that is used to create\r
      * derived objects.\r
      */\r
-    readonly species: symbol;\r
+    readonly species: unique symbol;\r
 \r
     /**\r
      * A regular expression method that splits a string at the indices that match the regular\r
      * expression. Called by the String.prototype.split method.\r
      */\r
-    readonly split: symbol;\r
+    readonly split: unique symbol;\r
 \r
     /**\r
      * A method that converts an object to a corresponding primitive value.\r
      * Called by the ToPrimitive abstract operation.\r
      */\r
-    readonly toPrimitive: symbol;\r
+    readonly toPrimitive: unique symbol;\r
 \r
     /**\r
      * A String value that is used in the creation of the default string description of an object.\r
      * Called by the built-in method Object.prototype.toString.\r
      */\r
-    readonly toStringTag: symbol;\r
+    readonly toStringTag: unique symbol;\r
 \r
     /**\r
      * An Object whose own property names are property names that are excluded from the 'with'\r
      * environment bindings of the associated objects.\r
      */\r
-    readonly unscopables: symbol;\r
+    readonly unscopables: unique symbol;\r
 }\r
 \r
 interface Symbol {\r
@@ -239,9 +239,9 @@ interface String {
     match(matcher: { [Symbol.match](string: string): RegExpMatchArray | null; }): RegExpMatchArray | null;\r
 \r
     /**\r
-     * Replaces text in a string, using an object that supports replacement within a string.\r
-     * @param searchValue A object can search for and replace matches within a string.\r
-     * @param replaceValue A string containing the text to replace for every successful match of searchValue in this string.\r
+     * Replaces first match with string or all matches with RegExp.\r
+     * @param searchValue A string or RegExp search value.\r
+     * @param replaceValue A string containing the text to replace for match.\r
      */\r
     replace(searchValue: { [Symbol.replace](string: string, replaceValue: string): string; }, replaceValue: string): string;\r
 \r