massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-tsserver / node_modules / typescript / lib / lib.es2019.string.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 String {\r
22     /** Removes the trailing white space and line terminator characters from a string. */\r
23     trimEnd(): string;\r
24 \r
25     /** Removes the leading white space and line terminator characters from a string. */\r
26     trimStart(): string;\r
27 \r
28     /**\r
29      * Removes the leading white space and line terminator characters from a string.\r
30      * @deprecated A legacy feature for browser compatibility. Use `trimStart` instead\r
31      */\r
32     trimLeft(): string;\r
33 \r
34     /**\r
35      * Removes the trailing white space and line terminator characters from a string.\r
36      * @deprecated A legacy feature for browser compatibility. Use `trimEnd` instead\r
37      */\r
38     trimRight(): string;\r
39 }\r