Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
students
eue
Commits
66bb6a58
Commit
66bb6a58
authored
Jun 28, 2021
by
Spark
Committed by
KangMin An
Jul 19, 2021
Browse files
typescript client
parent
0d025f8d
Changes
345
Hide whitespace changes
Inline
Side-by-side
Too many changes to show.
To preserve performance only
345 of 345+
files are displayed.
Plain diff
Email patch
node_modules/typescript/lib/lib.es2016.array.include.d.ts
0 → 100644
View file @
66bb6a58
/*! *****************************************************************************
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"/>
interface
Array
<
T
>
{
/**
* Determines whether an array includes a certain element, returning true or false as appropriate.
* @param searchElement The element to search for.
* @param fromIndex The position in this array at which to begin searching for searchElement.
*/
includes
(
searchElement
:
T
,
fromIndex
?:
number
):
boolean
;
}
interface
ReadonlyArray
<
T
>
{
/**
* Determines whether an array includes a certain element, returning true or false as appropriate.
* @param searchElement The element to search for.
* @param fromIndex The position in this array at which to begin searching for searchElement.
*/
includes
(
searchElement
:
T
,
fromIndex
?:
number
):
boolean
;
}
interface
Int8Array
{
/**
* Determines whether an array includes a certain element, returning true or false as appropriate.
* @param searchElement The element to search for.
* @param fromIndex The position in this array at which to begin searching for searchElement.
*/
includes
(
searchElement
:
number
,
fromIndex
?:
number
):
boolean
;
}
interface
Uint8Array
{
/**
* Determines whether an array includes a certain element, returning true or false as appropriate.
* @param searchElement The element to search for.
* @param fromIndex The position in this array at which to begin searching for searchElement.
*/
includes
(
searchElement
:
number
,
fromIndex
?:
number
):
boolean
;
}
interface
Uint8ClampedArray
{
/**
* Determines whether an array includes a certain element, returning true or false as appropriate.
* @param searchElement The element to search for.
* @param fromIndex The position in this array at which to begin searching for searchElement.
*/
includes
(
searchElement
:
number
,
fromIndex
?:
number
):
boolean
;
}
interface
Int16Array
{
/**
* Determines whether an array includes a certain element, returning true or false as appropriate.
* @param searchElement The element to search for.
* @param fromIndex The position in this array at which to begin searching for searchElement.
*/
includes
(
searchElement
:
number
,
fromIndex
?:
number
):
boolean
;
}
interface
Uint16Array
{
/**
* Determines whether an array includes a certain element, returning true or false as appropriate.
* @param searchElement The element to search for.
* @param fromIndex The position in this array at which to begin searching for searchElement.
*/
includes
(
searchElement
:
number
,
fromIndex
?:
number
):
boolean
;
}
interface
Int32Array
{
/**
* Determines whether an array includes a certain element, returning true or false as appropriate.
* @param searchElement The element to search for.
* @param fromIndex The position in this array at which to begin searching for searchElement.
*/
includes
(
searchElement
:
number
,
fromIndex
?:
number
):
boolean
;
}
interface
Uint32Array
{
/**
* Determines whether an array includes a certain element, returning true or false as appropriate.
* @param searchElement The element to search for.
* @param fromIndex The position in this array at which to begin searching for searchElement.
*/
includes
(
searchElement
:
number
,
fromIndex
?:
number
):
boolean
;
}
interface
Float32Array
{
/**
* Determines whether an array includes a certain element, returning true or false as appropriate.
* @param searchElement The element to search for.
* @param fromIndex The position in this array at which to begin searching for searchElement.
*/
includes
(
searchElement
:
number
,
fromIndex
?:
number
):
boolean
;
}
interface
Float64Array
{
/**
* Determines whether an array includes a certain element, returning true or false as appropriate.
* @param searchElement The element to search for.
* @param fromIndex The position in this array at which to begin searching for searchElement.
*/
includes
(
searchElement
:
number
,
fromIndex
?:
number
):
boolean
;
}
\ No newline at end of file
node_modules/typescript/lib/lib.es2016.d.ts
0 → 100644
View file @
66bb6a58
/*! *****************************************************************************
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"/>
/// <reference lib="es2015" />
/// <reference lib="es2016.array.include" />
\ No newline at end of file
node_modules/typescript/lib/lib.es2016.full.d.ts
0 → 100644
View file @
66bb6a58
/*! *****************************************************************************
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"/>
/// <reference lib="es2016" />
/// <reference lib="dom" />
/// <reference lib="webworker.importscripts" />
/// <reference lib="scripthost" />
/// <reference lib="dom.iterable" />
\ No newline at end of file
node_modules/typescript/lib/lib.es2017.d.ts
0 → 100644
View file @
66bb6a58
/*! *****************************************************************************
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"/>
/// <reference lib="es2016" />
/// <reference lib="es2017.object" />
/// <reference lib="es2017.sharedmemory" />
/// <reference lib="es2017.string" />
/// <reference lib="es2017.intl" />
/// <reference lib="es2017.typedarrays" />
node_modules/typescript/lib/lib.es2017.full.d.ts
0 → 100644
View file @
66bb6a58
/*! *****************************************************************************
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"/>
/// <reference lib="es2017" />
/// <reference lib="dom" />
/// <reference lib="webworker.importscripts" />
/// <reference lib="scripthost" />
/// <reference lib="dom.iterable" />
\ No newline at end of file
node_modules/typescript/lib/lib.es2017.intl.d.ts
0 → 100644
View file @
66bb6a58
/*! *****************************************************************************
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
{
type
DateTimeFormatPartTypes
=
"
day
"
|
"
dayPeriod
"
|
"
era
"
|
"
hour
"
|
"
literal
"
|
"
minute
"
|
"
month
"
|
"
second
"
|
"
timeZoneName
"
|
"
weekday
"
|
"
year
"
;
interface
DateTimeFormatPart
{
type
:
DateTimeFormatPartTypes
;
value
:
string
;
}
interface
DateTimeFormat
{
formatToParts
(
date
?:
Date
|
number
):
DateTimeFormatPart
[];
}
}
node_modules/typescript/lib/lib.es2017.object.d.ts
0 → 100644
View file @
66bb6a58
/*! *****************************************************************************
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"/>
interface
ObjectConstructor
{
/**
* Returns an array of values of the enumerable properties of an object
* @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.
*/
values
<
T
>
(
o
:
{
[
s
:
string
]:
T
}
|
ArrayLike
<
T
>
):
T
[];
/**
* Returns an array of values of the enumerable properties of an object
* @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.
*/
values
(
o
:
{}):
any
[];
/**
* Returns an array of key/values of the enumerable properties of an object
* @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.
*/
entries
<
T
>
(
o
:
{
[
s
:
string
]:
T
}
|
ArrayLike
<
T
>
):
[
string
,
T
][];
/**
* Returns an array of key/values of the enumerable properties of an object
* @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.
*/
entries
(
o
:
{}):
[
string
,
any
][];
/**
* Returns an object containing all own property descriptors of an object
* @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.
*/
getOwnPropertyDescriptors
<
T
>
(
o
:
T
):
{[
P
in
keyof
T
]:
TypedPropertyDescriptor
<
T
[
P
]
>
}
&
{
[
x
:
string
]:
PropertyDescriptor
};
}
node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts
0 → 100644
View file @
66bb6a58
/*! *****************************************************************************
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"/>
/// <reference lib="es2015.symbol" />
/// <reference lib="es2015.symbol.wellknown" />
interface
SharedArrayBuffer
{
/**
* Read-only. The length of the ArrayBuffer (in bytes).
*/
readonly
byteLength
:
number
;
/**
* Returns a section of an SharedArrayBuffer.
*/
slice
(
begin
:
number
,
end
?:
number
):
SharedArrayBuffer
;
readonly
[
Symbol
.
species
]:
SharedArrayBuffer
;
readonly
[
Symbol
.
toStringTag
]:
"
SharedArrayBuffer
"
;
}
interface
SharedArrayBufferConstructor
{
readonly
prototype
:
SharedArrayBuffer
;
new
(
byteLength
:
number
):
SharedArrayBuffer
;
}
declare
var
SharedArrayBuffer
:
SharedArrayBufferConstructor
;
interface
ArrayBufferTypes
{
SharedArrayBuffer
:
SharedArrayBuffer
;
}
interface
Atomics
{
/**
* Adds a value to the value at the given position in the array, returning the original value.
* Until this atomic operation completes, any other read or write operation against the array
* will block.
*/
add
(
typedArray
:
Int8Array
|
Uint8Array
|
Int16Array
|
Uint16Array
|
Int32Array
|
Uint32Array
,
index
:
number
,
value
:
number
):
number
;
/**
* Stores the bitwise AND of a value with the value at the given position in the array,
* returning the original value. Until this atomic operation completes, any other read or
* write operation against the array will block.
*/
and
(
typedArray
:
Int8Array
|
Uint8Array
|
Int16Array
|
Uint16Array
|
Int32Array
|
Uint32Array
,
index
:
number
,
value
:
number
):
number
;
/**
* Replaces the value at the given position in the array if the original value equals the given
* expected value, returning the original value. Until this atomic operation completes, any
* other read or write operation against the array will block.
*/
compareExchange
(
typedArray
:
Int8Array
|
Uint8Array
|
Int16Array
|
Uint16Array
|
Int32Array
|
Uint32Array
,
index
:
number
,
expectedValue
:
number
,
replacementValue
:
number
):
number
;
/**
* Replaces the value at the given position in the array, returning the original value. Until
* this atomic operation completes, any other read or write operation against the array will
* block.
*/
exchange
(
typedArray
:
Int8Array
|
Uint8Array
|
Int16Array
|
Uint16Array
|
Int32Array
|
Uint32Array
,
index
:
number
,
value
:
number
):
number
;
/**
* Returns a value indicating whether high-performance algorithms can use atomic operations
* (`true`) or must use locks (`false`) for the given number of bytes-per-element of a typed
* array.
*/
isLockFree
(
size
:
number
):
boolean
;
/**
* Returns the value at the given position in the array. Until this atomic operation completes,
* any other read or write operation against the array will block.
*/
load
(
typedArray
:
Int8Array
|
Uint8Array
|
Int16Array
|
Uint16Array
|
Int32Array
|
Uint32Array
,
index
:
number
):
number
;
/**
* Stores the bitwise OR of a value with the value at the given position in the array,
* returning the original value. Until this atomic operation completes, any other read or write
* operation against the array will block.
*/
or
(
typedArray
:
Int8Array
|
Uint8Array
|
Int16Array
|
Uint16Array
|
Int32Array
|
Uint32Array
,
index
:
number
,
value
:
number
):
number
;
/**
* Stores a value at the given position in the array, returning the new value. Until this
* atomic operation completes, any other read or write operation against the array will block.
*/
store
(
typedArray
:
Int8Array
|
Uint8Array
|
Int16Array
|
Uint16Array
|
Int32Array
|
Uint32Array
,
index
:
number
,
value
:
number
):
number
;
/**
* Subtracts a value from the value at the given position in the array, returning the original
* value. Until this atomic operation completes, any other read or write operation against the
* array will block.
*/
sub
(
typedArray
:
Int8Array
|
Uint8Array
|
Int16Array
|
Uint16Array
|
Int32Array
|
Uint32Array
,
index
:
number
,
value
:
number
):
number
;
/**
* If the value at the given position in the array is equal to the provided value, the current
* agent is put to sleep causing execution to suspend until the timeout expires (returning
* `"timed-out"`) or until the agent is awoken (returning `"ok"`); otherwise, returns
* `"not-equal"`.
*/
wait
(
typedArray
:
Int32Array
,
index
:
number
,
value
:
number
,
timeout
?:
number
):
"
ok
"
|
"
not-equal
"
|
"
timed-out
"
;
/**
* Wakes up sleeping agents that are waiting on the given index of the array, returning the
* number of agents that were awoken.
* @param typedArray A shared Int32Array.
* @param index The position in the typedArray to wake up on.
* @param count The number of sleeping agents to notify. Defaults to +Infinity.
*/
notify
(
typedArray
:
Int32Array
,
index
:
number
,
count
?:
number
):
number
;
/**
* Stores the bitwise XOR of a value with the value at the given position in the array,
* returning the original value. Until this atomic operation completes, any other read or write
* operation against the array will block.
*/
xor
(
typedArray
:
Int8Array
|
Uint8Array
|
Int16Array
|
Uint16Array
|
Int32Array
|
Uint32Array
,
index
:
number
,
value
:
number
):
number
;
readonly
[
Symbol
.
toStringTag
]:
"
Atomics
"
;
}
declare
var
Atomics
:
Atomics
;
node_modules/typescript/lib/lib.es2017.string.d.ts
0 → 100644
View file @
66bb6a58
/*! *****************************************************************************
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"/>
interface
String
{
/**
* Pads the current string with a given string (possibly repeated) so that the resulting string reaches a given length.
* The padding is applied from the start (left) of the current string.
*
* @param maxLength The length of the resulting string once the current string has been padded.
* If this parameter is smaller than the current string's length, the current string will be returned as it is.
*
* @param fillString The string to pad the current string with.
* If this string is too long, it will be truncated and the left-most part will be applied.
* The default value for this parameter is " " (U+0020).
*/
padStart
(
maxLength
:
number
,
fillString
?:
string
):
string
;
/**
* Pads the current string with a given string (possibly repeated) so that the resulting string reaches a given length.
* The padding is applied from the end (right) of the current string.
*
* @param maxLength The length of the resulting string once the current string has been padded.
* If this parameter is smaller than the current string's length, the current string will be returned as it is.
*
* @param fillString The string to pad the current string with.
* If this string is too long, it will be truncated and the left-most part will be applied.
* The default value for this parameter is " " (U+0020).
*/
padEnd
(
maxLength
:
number
,
fillString
?:
string
):
string
;
}
node_modules/typescript/lib/lib.es2017.typedarrays.d.ts
0 → 100644
View file @
66bb6a58
/*! *****************************************************************************
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"/>
interface
Int8ArrayConstructor
{
new
():
Int8Array
;
}
interface
Uint8ArrayConstructor
{
new
():
Uint8Array
;
}
interface
Uint8ClampedArrayConstructor
{
new
():
Uint8ClampedArray
;
}
interface
Int16ArrayConstructor
{
new
():
Int16Array
;
}
interface
Uint16ArrayConstructor
{
new
():
Uint16Array
;
}
interface
Int32ArrayConstructor
{
new
():
Int32Array
;
}
interface
Uint32ArrayConstructor
{
new
():
Uint32Array
;
}
interface
Float32ArrayConstructor
{
new
():
Float32Array
;
}
interface
Float64ArrayConstructor
{
new
():
Float64Array
;
}
node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts
0 → 100644
View file @
66bb6a58
/*! *****************************************************************************
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"/>
/// <reference lib="es2018.asynciterable" />
interface
AsyncGenerator
<
T
=
unknown
,
TReturn
=
any
,
TNext
=
unknown
>
extends
AsyncIterator
<
T
,
TReturn
,
TNext
>
{
// NOTE: 'next' is defined using a tuple to ensure we report the correct assignability errors in all places.
next
(...
args
:
[]
|
[
TNext
]):
Promise
<
IteratorResult
<
T
,
TReturn
>>
;
return
(
value
:
TReturn
|
PromiseLike
<
TReturn
>
):
Promise
<
IteratorResult
<
T
,
TReturn
>>
;
throw
(
e
:
any
):
Promise
<
IteratorResult
<
T
,
TReturn
>>
;
[
Symbol
.
asyncIterator
]():
AsyncGenerator
<
T
,
TReturn
,
TNext
>
;
}
interface
AsyncGeneratorFunction
{
/**
* Creates a new AsyncGenerator object.
* @param args A list of arguments the function accepts.
*/
new
(...
args
:
any
[]):
AsyncGenerator
;
/**
* Creates a new AsyncGenerator object.
* @param args A list of arguments the function accepts.
*/
(...
args
:
any
[]):
AsyncGenerator
;
/**
* The length of the arguments.
*/
readonly
length
:
number
;
/**
* Returns the name of the function.
*/
readonly
name
:
string
;
/**
* A reference to the prototype.
*/
readonly
prototype
:
AsyncGenerator
;
}
interface
AsyncGeneratorFunctionConstructor
{
/**
* Creates a new AsyncGenerator function.
* @param args A list of arguments the function accepts.
*/
new
(...
args
:
string
[]):
AsyncGeneratorFunction
;
/**
* Creates a new AsyncGenerator function.
* @param args A list of arguments the function accepts.
*/
(...
args
:
string
[]):
AsyncGeneratorFunction
;
/**
* The length of the arguments.
*/
readonly
length
:
number
;
/**
* Returns the name of the function.
*/
readonly
name
:
string
;
/**
* A reference to the prototype.
*/
readonly
prototype
:
AsyncGeneratorFunction
;
}
node_modules/typescript/lib/lib.es2018.asynciterable.d.ts
0 → 100644
View file @
66bb6a58
/*! *****************************************************************************
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"/>
/// <reference lib="es2015.symbol" />
/// <reference lib="es2015.iterable" />
interface
SymbolConstructor
{
/**
* A method that returns the default async iterator for an object. Called by the semantics of
* the for-await-of statement.
*/
readonly
asyncIterator
:
unique
symbol
;
}
interface
AsyncIterator
<
T
,
TReturn
=
any
,
TNext
=
undefined
>
{
// NOTE: 'next' is defined using a tuple to ensure we report the correct assignability errors in all places.
next
(...
args
:
[]
|
[
TNext
]):
Promise
<
IteratorResult
<
T
,
TReturn
>>
;
return
?(
value
?:
TReturn
|
PromiseLike
<
TReturn
>
):
Promise
<
IteratorResult
<
T
,
TReturn
>>
;
throw
?(
e
?:
any
):
Promise
<
IteratorResult
<
T
,
TReturn
>>
;
}
interface
AsyncIterable
<
T
>
{
[
Symbol
.
asyncIterator
]():
AsyncIterator
<
T
>
;
}
interface
AsyncIterableIterator
<
T
>
extends
AsyncIterator
<
T
>
{
[
Symbol
.
asyncIterator
]():
AsyncIterableIterator
<
T
>
;
}
\ No newline at end of file
node_modules/typescript/lib/lib.es2018.d.ts
0 → 100644
View file @
66bb6a58
/*! *****************************************************************************
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"/>
/// <reference lib="es2017" />
/// <reference lib="es2018.asynciterable" />
/// <reference lib="es2018.asyncgenerator" />
/// <reference lib="es2018.promise" />
/// <reference lib="es2018.regexp" />
/// <reference lib="es2018.intl" />
node_modules/typescript/lib/lib.es2018.full.d.ts
0 → 100644
View file @
66bb6a58
/*! *****************************************************************************
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"/>
/// <reference lib="es2018" />
/// <reference lib="dom" />
/// <reference lib="webworker.importscripts" />
/// <reference lib="scripthost" />
/// <reference lib="dom.iterable" />
\ No newline at end of file
node_modules/typescript/lib/lib.es2018.intl.d.ts
0 → 100644
View file @
66bb6a58
/*! *****************************************************************************
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
{
// http://cldr.unicode.org/index/cldr-spec/plural-rules#TOC-Determining-Plural-Categories
type
LDMLPluralRule
=
"
zero
"
|
"
one
"
|
"
two
"
|
"
few
"
|
"
many
"
|
"
other
"
;
type
PluralRuleType
=
"
cardinal
"
|
"
ordinal
"
;
interface
PluralRulesOptions
{
localeMatcher
?:
"
lookup
"
|
"
best fit
"
;
type
?:
PluralRuleType
;
minimumIntegerDigits
?:
number
;
minimumFractionDigits
?:
number
;
maximumFractionDigits
?:
number
;
minimumSignificantDigits
?:
number
;
maximumSignificantDigits
?:
number
;
}
interface
ResolvedPluralRulesOptions
{
locale
:
string
;
pluralCategories
:
LDMLPluralRule
[];
type
:
PluralRuleType
;
minimumIntegerDigits
:
number
;
minimumFractionDigits
:
number
;
maximumFractionDigits
:
number
;
minimumSignificantDigits
?:
number
;
maximumSignificantDigits
?:
number
;
}
interface
PluralRules
{
resolvedOptions
():
ResolvedPluralRulesOptions
;
select
(
n
:
number
):
LDMLPluralRule
;
}
const
PluralRules
:
{
new
(
locales
?:
string
|
string
[],
options
?:
PluralRulesOptions
):
PluralRules
;
(
locales
?:
string
|
string
[],
options
?:
PluralRulesOptions
):
PluralRules
;
supportedLocalesOf
(
locales
:
string
|
string
[],
options
?:
PluralRulesOptions
,
):
string
[];
};
}
node_modules/typescript/lib/lib.es2018.promise.d.ts
0 → 100644
View file @
66bb6a58
/*! *****************************************************************************
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"/>
/**
* Represents the completion of an asynchronous operation
*/
interface
Promise
<
T
>
{
/**
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
* resolved value cannot be modified from the callback.
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
* @returns A Promise for the completion of the callback.
*/
finally
(
onfinally
?:
(()
=>
void
)
|
undefined
|
null
):
Promise
<
T
>
}
node_modules/typescript/lib/lib.es2018.regexp.d.ts
0 → 100644
View file @
66bb6a58
/*! *****************************************************************************
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"/>
interface
RegExpMatchArray
{
groups
?:
{
[
key
:
string
]:
string
}
}
interface
RegExpExecArray
{
groups
?:
{
[
key
:
string
]:
string
}
}
interface
RegExp
{
/**
* Returns a Boolean value indicating the state of the dotAll flag (s) used with a regular expression.
* Default is false. Read-only.
*/
readonly
dotAll
:
boolean
;
}
\ No newline at end of file
node_modules/typescript/lib/lib.es2019.array.d.ts
0 → 100644
View file @
66bb6a58
/*! *****************************************************************************
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"/>
type
FlatArray
<
Arr
,
Depth
extends
number
>
=
{
"
done
"
:
Arr
,
"
recur
"
:
Arr
extends
ReadonlyArray
<
infer
InnerArr
>
?
FlatArray
<
InnerArr
,
[
-
1
,
0
,
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
,
10
,
11
,
12
,
13
,
14
,
15
,
16
,
17
,
18
,
19
,
20
][
Depth
]
>
:
Arr
}[
Depth
extends
-
1
?
"
done
"
:
"
recur
"
];
interface
ReadonlyArray
<
T
>
{
/**
* Calls a defined callback function on each element of an array. Then, flattens the result into
* a new array.
* This is identical to a map followed by flat with depth 1.
*
* @param callback A function that accepts up to three arguments. The flatMap method calls the
* callback function one time for each element in the array.
* @param thisArg An object to which the this keyword can refer in the callback function. If
* thisArg is omitted, undefined is used as the this value.
*/
flatMap
<
U
,
This
=
undefined
>
(
callback
:
(
this
:
This
,
value
:
T
,
index
:
number
,
array
:
T
[])
=>
U
|
ReadonlyArray
<
U
>
,
thisArg
?:
This
):
U
[]
/**
* Returns a new array with all sub-array elements concatenated into it recursively up to the
* specified depth.
*
* @param depth The maximum recursion depth
*/
flat
<
A
,
D
extends
number
=
1
>
(
this
:
A
,
depth
?:
D
):
FlatArray
<
A
,
D
>
[]
}
interface
Array
<
T
>
{
/**
* Calls a defined callback function on each element of an array. Then, flattens the result into
* a new array.
* This is identical to a map followed by flat with depth 1.
*
* @param callback A function that accepts up to three arguments. The flatMap method calls the
* callback function one time for each element in the array.
* @param thisArg An object to which the this keyword can refer in the callback function. If
* thisArg is omitted, undefined is used as the this value.
*/
flatMap
<
U
,
This
=
undefined
>
(
callback
:
(
this
:
This
,
value
:
T
,
index
:
number
,
array
:
T
[])
=>
U
|
ReadonlyArray
<
U
>
,
thisArg
?:
This
):
U
[]
/**
* Returns a new array with all sub-array elements concatenated into it recursively up to the
* specified depth.
*
* @param depth The maximum recursion depth
*/
flat
<
A
,
D
extends
number
=
1
>
(
this
:
A
,
depth
?:
D
):
FlatArray
<
A
,
D
>
[]
}
node_modules/typescript/lib/lib.es2019.d.ts
0 → 100644
View file @
66bb6a58
/*! *****************************************************************************
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"/>
/// <reference lib="es2018" />
/// <reference lib="es2019.array" />
/// <reference lib="es2019.object" />
/// <reference lib="es2019.string" />
/// <reference lib="es2019.symbol" />
node_modules/typescript/lib/lib.es2019.full.d.ts
0 → 100644
View file @
66bb6a58
/*! *****************************************************************************
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"/>
/// <reference lib="es2019" />
/// <reference lib="dom" />
/// <reference lib="webworker.importscripts" />
/// <reference lib="scripthost" />
/// <reference lib="dom.iterable" />
Prev
1
…
11
12
13
14
15
16
17
18
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment