/
opt
/
canhelp
/
node_modules
/
typescript
/
lib
/
/opt/canhelp/node_modules/typescript/lib
mkdir
upload
Name
Size
Mode
Actions
cs/
-
0755
rm
de/
-
0755
rm
es/
-
0755
rm
fr/
-
0755
rm
it/
-
0755
rm
ja/
-
0755
rm
ko/
-
0755
rm
pl/
-
0755
rm
pt-br/
-
0755
rm
ru/
-
0755
rm
tr/
-
0755
rm
zh-cn/
-
0755
rm
zh-tw/
-
0755
rm
lib.d.ts
992
0644
edit
dl
rm
lib.decorators.d.ts
13192
0644
edit
dl
rm
lib.decorators.legacy.d.ts
1326
0644
edit
dl
rm
lib.dom.asynciterable.d.ts
1887
0644
edit
dl
rm
lib.dom.d.ts
1874901
0644
edit
dl
rm
lib.dom.iterable.d.ts
29802
0644
edit
dl
rm
lib.es5.d.ts
218439
0644
edit
dl
rm
lib.es6.d.ts
1032
0644
edit
dl
rm
lib.es2015.collection.d.ts
5229
0644
edit
dl
rm
lib.es2015.core.d.ts
22866
0644
edit
dl
rm
lib.es2015.d.ts
1241
0644
edit
dl
rm
lib.es2015.generator.d.ts
2557
0644
edit
dl
rm
lib.es2015.iterable.d.ts
18200
0644
edit
dl
rm
lib.es2015.promise.d.ts
3200
0644
edit
dl
rm
lib.es2015.proxy.d.ts
5251
0644
edit
dl
rm
lib.es2015.reflect.d.ts
6493
0644
edit
dl
rm
lib.es2015.symbol.d.ts
1649
0644
edit
dl
rm
lib.es2015.symbol.wellknown.d.ts
11010
0644
edit
dl
rm
lib.es2016.array.include.d.ts
5204
0644
edit
dl
rm
lib.es2016.d.ts
965
0644
edit
dl
rm
lib.es2016.full.d.ts
1032
0644
edit
dl
rm
lib.es2016.intl.d.ts
1484
0644
edit
dl
rm
lib.es2017.arraybuffer.d.ts
915
0644
edit
dl
rm
lib.es2017.d.ts
1162
0644
edit
dl
rm
lib.es2017.date.d.ts
1916
0644
edit
dl
rm
lib.es2017.full.d.ts
1032
0644
edit
dl
rm
lib.es2017.intl.d.ts
1449
0644
edit
dl
rm
lib.es2017.object.d.ts
2473
0644
edit
dl
rm
lib.es2017.sharedmemory.d.ts
7209
0644
edit
dl
rm
lib.es2017.string.d.ts
2378
0644
edit
dl
rm
lib.es2017.typedarrays.d.ts
1542
0644
edit
dl
rm
lib.es2018.asyncgenerator.d.ts
2692
0644
edit
dl
rm
lib.es2018.asynciterable.d.ts
2257
0644
edit
dl
rm
lib.es2018.d.ts
1088
0644
edit
dl
rm
lib.es2018.full.d.ts
1074
0644
edit
dl
rm
lib.es2018.intl.d.ts
3021
0644
edit
dl
rm
lib.es2018.promise.d.ts
1353
0644
edit
dl
rm
lib.es2018.regexp.d.ts
1232
0644
edit
dl
rm
lib.es2019.array.d.ts
3163
0644
edit
dl
rm
lib.es2019.d.ts
1071
0644
edit
dl
rm
lib.es2019.full.d.ts
1074
0644
edit
dl
rm
lib.es2019.intl.d.ts
958
0644
edit
dl
rm
lib.es2019.object.d.ts
1473
0644
edit
dl
rm
lib.es2019.string.d.ts
1528
0644
edit
dl
rm
lib.es2019.symbol.d.ts
1006
0644
edit
dl
rm
lib.es2020.bigint.d.ts
38185
0644
edit
dl
rm
lib.es2020.d.ts
1201
0644
edit
dl
rm
lib.es2020.date.d.ts
2956
0644
edit
dl
rm
lib.es2020.full.d.ts
1074
0644
edit
dl
rm
lib.es2020.intl.d.ts
22438
0644
edit
dl
rm
lib.es2020.number.d.ts
1587
0644
edit
dl
rm
lib.es2020.promise.d.ts
1803
0644
edit
dl
rm
lib.es2020.sharedmemory.d.ts
5128
0644
edit
dl
rm
lib.es2020.string.d.ts
2556
0644
edit
dl
rm
lib.es2020.symbol.wellknown.d.ts
1606
0644
edit
dl
rm
lib.es2021.d.ts
1036
0644
edit
dl
rm
lib.es2021.full.d.ts
1074
0644
edit
dl
rm
lib.es2021.intl.d.ts
8245
0644
edit
dl
rm
lib.es2021.promise.d.ts
2262
0644
edit
dl
rm
lib.es2021.string.d.ts
1592
0644
edit
dl
rm
lib.es2021.weakref.d.ts
3171
0644
edit
dl
rm
lib.es2022.array.d.ts
4676
0644
edit
dl
rm
lib.es2022.d.ts
1108
0644
edit
dl
rm
lib.es2022.error.d.ts
2379
0644
edit
dl
rm
lib.es2022.full.d.ts
1074
0644
edit
dl
rm
lib.es2022.intl.d.ts
7692
0644
edit
dl
rm
lib.es2022.object.d.ts
1085
0644
edit
dl
rm
lib.es2022.regexp.d.ts
1331
0644
edit
dl
rm
lib.es2022.string.d.ts
1155
0644
edit
dl
rm
lib.es2023.array.d.ts
40236
0644
edit
dl
rm
lib.es2023.collection.d.ts
900
0644
edit
dl
rm
lib.es2023.d.ts
999
0644
edit
dl
rm
lib.es2023.full.d.ts
1074
0644
edit
dl
rm
lib.es2023.intl.d.ts
2645
0644
edit
dl
rm
lib.es2024.arraybuffer.d.ts
2637
0644
edit
dl
rm
lib.es2024.collection.d.ts
1224
0644
edit
dl
rm
lib.es2024.d.ts
1166
0644
edit
dl
rm
lib.es2024.full.d.ts
1074
0644
edit
dl
rm
lib.es2024.object.d.ts
1259
0644
edit
dl
rm
lib.es2024.promise.d.ts
1389
0644
edit
dl
rm
lib.es2024.regexp.d.ts
1073
0644
edit
dl
rm
lib.es2024.sharedmemory.d.ts
3077
0644
edit
dl
rm
lib.es2024.string.d.ts
1194
0644
edit
dl
rm
lib.esnext.array.d.ts
1791
0644
edit
dl
rm
lib.esnext.collection.d.ts
3878
0644
edit
dl
rm
lib.esnext.d.ts
1282
0644
edit
dl
rm
lib.esnext.decorators.d.ts
1070
0644
edit
dl
rm
lib.esnext.disposable.d.ts
6806
0644
edit
dl
rm
lib.esnext.error.d.ts
1029
0644
edit
dl
rm
lib.esnext.float16.d.ts
20528
0644
edit
dl
rm
lib.esnext.full.d.ts
1074
0644
edit
dl
rm
lib.esnext.intl.d.ts
893
0644
edit
dl
rm
lib.esnext.iterator.d.ts
8676
0644
edit
dl
rm
lib.esnext.promise.d.ts
1658
0644
edit
dl
rm
lib.esnext.sharedmemory.d.ts
1067
0644
edit
dl
rm
lib.scripthost.d.ts
9451
0644
edit
dl
rm
lib.webworker.asynciterable.d.ts
1887
0644
edit
dl
rm
lib.webworker.d.ts
609557
0644
edit
dl
rm
lib.webworker.importscripts.d.ts
1041
0644
edit
dl
rm
lib.webworker.iterable.d.ts
22768
0644
edit
dl
rm
tsc.js
267
0644
edit
dl
rm
tsserver.js
272
0644
edit
dl
rm
tsserverlibrary.d.ts
865
0644
edit
dl
rm
tsserverlibrary.js
1012
0644
edit
dl
rm
typescript.d.ts
588085
0644
edit
dl
rm
typescript.js
9112572
0644
edit
dl
rm
typesMap.json
16788
0644
edit
dl
rm
typingsInstaller.js
280
0644
edit
dl
rm
watchGuard.js
2313
0644
edit
dl
rm
_tsc.js
6213092
0644
edit
dl
rm
_tsserver.js
27888
0644
edit
dl
rm
_typingsInstaller.js
10363
0644
edit
dl
rm
Edit:
/opt/canhelp/node_modules/typescript/lib/lib.es2022.intl.d.ts
(7692B)
/*! ***************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABLITY OR NON-INFRINGEMENT. See the Apache Version 2.0 License for specific language governing permissions and limitations under the License. ***************************************************************************** */ /// <reference no-default-lib="true"/> declare namespace Intl { /** * An object with some or all properties of the `Intl.Segmenter` constructor `options` parameter. * * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter/Segmenter#parameters) */ interface SegmenterOptions { /** The locale matching algorithm to use. For information about this option, see [Intl page](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_negotiation). */ localeMatcher?: "best fit" | "lookup" | undefined; /** The type of input to be split */ granularity?: "grapheme" | "word" | "sentence" | undefined; } /** * The `Intl.Segmenter` object enables locale-sensitive text segmentation, enabling you to get meaningful items (graphemes, words or sentences) from a string. * * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter) */ interface Segmenter { /** * Returns `Segments` object containing the segments of the input string, using the segmenter's locale and granularity. * * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter/segment) * * @param input - The text to be segmented as a `string`. * * @returns A new iterable Segments object containing the segments of the input string, using the segmenter's locale and granularity. */ segment(input: string): Segments; /** * The `resolvedOptions()` method of `Intl.Segmenter` instances returns a new object with properties reflecting the options computed during initialization of this `Segmenter` object. * * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter/resolvedOptions) */ resolvedOptions(): ResolvedSegmenterOptions; } interface ResolvedSegmenterOptions { locale: string; granularity: "grapheme" | "word" | "sentence"; } interface SegmentIterator<T> extends IteratorObject<T, BuiltinIteratorReturn, unknown> { [Symbol.iterator](): SegmentIterator<T>; } /** * A `Segments` object is an iterable collection of the segments of a text string. It is returned by a call to the `segment()` method of an `Intl.Segmenter` object. * * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter/segment/Segments) */ interface Segments { /** * Returns an object describing the segment in the original string that includes the code unit at a specified index. * * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter/segment/Segments/containing) * * @param codeUnitIndex - A number specifying the index of the code unit in the original input string. If the value is omitted, it defaults to `0`. */ containing(codeUnitIndex?: number): SegmentData | undefined; /** Returns an iterator to iterate over the segments. */ [Symbol.iterator](): SegmentIterator<SegmentData>; } interface SegmentData { /** A string containing the segment extracted from the original input string. */ segment: string; /** The code unit index in the original input string at which the segment begins. */ index: number; /** The complete input string that was segmented. */ input: string; /** * A boolean value only if granularity is "word"; otherwise, undefined. * If granularity is "word", then isWordLike is true when the segment is word-like (i.e., consists of letters/numbers/ideographs/etc.); otherwise, false. */ isWordLike?: boolean; } /** * The `Intl.Segmenter` object enables locale-sensitive text segmentation, enabling you to get meaningful items (graphemes, words or sentences) from a string. * * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter) */ const Segmenter: { prototype: Segmenter; /** * Creates a new `Intl.Segmenter` object. * * @param locales - A string with a [BCP 47 language tag](http://tools.ietf.org/html/rfc5646), or an array of such strings. * For the general form and interpretation of the `locales` argument, * see the [`Intl` page](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation). * * @param options - An [object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter/Segmenter#parameters) * with some or all options of `SegmenterOptions`. * * @returns [Intl.Segmenter](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segments) object. * * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter). */ new (locales?: LocalesArgument, options?: SegmenterOptions): Segmenter; /** * Returns an array containing those of the provided locales that are supported without having to fall back to the runtime's default locale. * * @param locales - A string with a [BCP 47 language tag](http://tools.ietf.org/html/rfc5646), or an array of such strings. * For the general form and interpretation of the `locales` argument, * see the [`Intl` page](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation). * * @param options An [object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter/supportedLocalesOf#parameters). * with some or all possible options. * * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter/supportedLocalesOf) */ supportedLocalesOf(locales: LocalesArgument, options?: Pick<SegmenterOptions, "localeMatcher">): UnicodeBCP47LocaleIdentifier[]; }; /** * Returns a sorted array of the supported collation, calendar, currency, numbering system, timezones, and units by the implementation. * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/supportedValuesOf) * * @param key A string indicating the category of values to return. * @returns A sorted array of the supported values. */ function supportedValuesOf(key: "calendar" | "collation" | "currency" | "numberingSystem" | "timeZone" | "unit"): string[]; }
Save
cmd:
run