fs2.internal.jsdeps.std

Type members

Classlikes

@native @JSType
trait Array[T] extends StObject with NumberDictionary[T]
@native @JSType
trait ArrayBuffer extends StObject

Represents a raw buffer of binary data, which is used to store data for the different typed arrays. ArrayBuffers cannot be read from or written to directly, but can be passed to a typed array or DataView Object to interpret the raw buffer as needed.

Represents a raw buffer of binary data, which is used to store data for the different typed arrays. ArrayBuffers cannot be read from or written to directly, but can be passed to a typed array or DataView Object to interpret the raw buffer as needed.

@native @JSType
trait ArrayBufferConstructor extends StObject with Instantiable1[Double, ArrayBuffer]
@native @JSType
trait ArrayBufferTypes extends StObject

Allowed ArrayBuffer types for the buffer of an ArrayBufferView and related Typed Arrays.

Allowed ArrayBuffer types for the buffer of an ArrayBufferView and related Typed Arrays.

Companion
object
Companion
class
@native @JSType
trait ArrayBufferView extends StObject
Companion
object
Companion
class
@native @JSType
trait ArrayConstructor extends StObject with Instantiable0[Array[Any]] with Instantiable1[Double | Object, Array[Any | Object]]
@native @JSType
trait ArrayLike[T] extends StObject with NumberDictionary[T]
Companion
object
object ArrayLike
Companion
class
@native @JSType
trait AsyncGenerator[T, TReturn, TNext] extends StObject with AsyncIterator[T, TReturn, TNext]
@native @JSType
trait AsyncGeneratorFunction extends StObject with Instantiable1[Any, AsyncGenerator[Any, Any, Any]]
@native @JSType
trait AsyncGeneratorFunctionConstructor extends StObject with Instantiable1[String, AsyncGeneratorFunction]
@native @JSType
trait AsyncIterable[T] extends StObject
@native @JSType
trait AsyncIterableIterator[T] extends StObject with AsyncIterator[T, Any, Unit]
@native @JSType
trait AsyncIterator[T, TReturn, TNext] extends StObject
@native @JSType
trait Atomics extends StObject
@native @JSType
trait BigInt extends StObject
@native @JSType
trait BigInt64Array extends StObject with NumberDictionary[BigInt]

A typed array of 64-bit signed integer values. The contents are initialized to 0. If the requested number of bytes could not be allocated, an exception is raised.

A typed array of 64-bit signed integer values. The contents are initialized to 0. If the requested number of bytes could not be allocated, an exception is raised.

@native @JSType
trait BigInt64ArrayConstructor extends StObject with Instantiable0[BigInt64Array] with Instantiable1[ArrayBufferLike | Double | Iterable[BigInt], BigInt64Array] with Instantiable2[ArrayBufferLike, Double, BigInt64Array] with Instantiable3[ArrayBufferLike, Double | Unit, Double, BigInt64Array]
@native @JSType
trait BigIntConstructor extends StObject
@native @JSType
trait BigIntToLocaleStringOptions extends StObject
Companion
object
@native @JSType
trait BigUint64Array extends StObject with NumberDictionary[BigInt]

A typed array of 64-bit unsigned integer values. The contents are initialized to 0. If the requested number of bytes could not be allocated, an exception is raised.

A typed array of 64-bit unsigned integer values. The contents are initialized to 0. If the requested number of bytes could not be allocated, an exception is raised.

@native @JSType
trait BigUint64ArrayConstructor extends StObject with Instantiable0[BigUint64Array] with Instantiable1[ArrayBufferLike | Double | Iterable[BigInt], BigUint64Array] with Instantiable2[ArrayBufferLike, Double, BigUint64Array] with Instantiable3[ArrayBufferLike, Double | Unit, Double, BigUint64Array]
@native @JSType
trait Boolean extends StObject
@native @JSType
trait BooleanConstructor extends StObject with Instantiable0[Boolean] with Instantiable1[Any, Boolean]
@native @JSType
trait CallableFunction extends Function
@native @JSType
trait ConcatArray[T] extends StObject with NumberDictionary[T]
@native @JSType
trait DataView extends StObject
@native @JSType
trait DataViewConstructor extends StObject with Instantiable1[ArrayBufferLike, DataView] with Instantiable2[ArrayBufferLike, Double, DataView] with Instantiable3[ArrayBufferLike, Double | Unit, Double, DataView]
@native @JSType
trait Date extends StObject

Enables basic storage and retrieval of dates and times.

Enables basic storage and retrieval of dates and times.

@native @JSType
trait DateConstructor extends StObject with Instantiable0[Date] with Instantiable1[Date | Double | String, Date] with Instantiable2[Double, Double, Date] with Instantiable3[Double, Double, Double, Date] with Instantiable4[Double, Double, Double | Unit, Double, Date] with Instantiable5[Double, Double, Double | Unit, Double | Unit, Double, Date] with Instantiable6[Double, Double, Double | Unit, Double | Unit, Double | Unit, Double, Date] with Instantiable7[Double, Double, Double | Unit, Double | Unit, Double | Unit, Double | Unit, Double, Date]
@native @JSType
trait Error extends StObject
Companion
object
object Error
Companion
class
@native @JSType
trait ErrorConstructor extends StObject with Instantiable0[Error] with Instantiable1[String, Error]
@native @JSType
trait EvalErrorConstructor extends StObject with ErrorConstructor
@native @JSType
trait Float32Array extends StObject with NumberDictionary[Double]

A typed array of 32-bit float values. The contents are initialized to 0. If the requested number of bytes could not be allocated an exception is raised.

A typed array of 32-bit float values. The contents are initialized to 0. If the requested number of bytes could not be allocated an exception is raised.

@native @JSType
trait Float32ArrayConstructor extends StObject with Instantiable0[Float32Array] with Instantiable1[ArrayBufferLike | ArrayLike[Double] | Double | Iterable[Double], Float32Array] with Instantiable2[ArrayBufferLike, Double, Float32Array] with Instantiable3[ArrayBufferLike, Double | Unit, Double, Float32Array]
@native @JSType
trait Float64Array extends StObject with NumberDictionary[Double]

A typed array of 64-bit float values. The contents are initialized to 0. If the requested number of bytes could not be allocated an exception is raised.

A typed array of 64-bit float values. The contents are initialized to 0. If the requested number of bytes could not be allocated an exception is raised.

@native @JSType
trait Float64ArrayConstructor extends StObject with Instantiable0[Float64Array] with Instantiable1[ArrayBufferLike | ArrayLike[Double] | Double | Iterable[Double], Float64Array] with Instantiable2[ArrayBufferLike, Double, Float64Array] with Instantiable3[ArrayBufferLike, Double | Unit, Double, Float64Array]
@native @JSType
trait Function extends StObject

Creates a new function.

Creates a new function.

@native @JSType
trait FunctionConstructor extends StObject with Instantiable1[String, Function]
@native @JSType
trait Generator[T, TReturn, TNext] extends StObject with Iterator[T, TReturn, TNext]
@native @JSType
trait GeneratorFunction extends StObject with Instantiable1[Any, Generator[Any, Any, Any]]
@native @JSType
trait GeneratorFunctionConstructor extends StObject with Instantiable1[String, GeneratorFunction]
@native @JSType
trait IArguments extends StObject with NumberDictionary[Any]
@native @JSType
trait ImportMeta extends StObject

The type of import.meta.

The type of import.meta.

If you need to declare that a given property exists on import.meta, this type may be augmented via interface merging.

@native @JSType
trait Int16Array extends StObject with NumberDictionary[Double]

A typed array of 16-bit signed integer values. The contents are initialized to 0. If the requested number of bytes could not be allocated an exception is raised.

A typed array of 16-bit signed integer values. The contents are initialized to 0. If the requested number of bytes could not be allocated an exception is raised.

@native @JSType
trait Int16ArrayConstructor extends StObject with Instantiable0[Int16Array] with Instantiable1[ArrayBufferLike | ArrayLike[Double] | Double | Iterable[Double], Int16Array] with Instantiable2[ArrayBufferLike, Double, Int16Array] with Instantiable3[ArrayBufferLike, Double | Unit, Double, Int16Array]
@native @JSType
trait Int32Array extends StObject with NumberDictionary[Double]

A typed array of 32-bit signed integer values. The contents are initialized to 0. If the requested number of bytes could not be allocated an exception is raised.

A typed array of 32-bit signed integer values. The contents are initialized to 0. If the requested number of bytes could not be allocated an exception is raised.

@native @JSType
trait Int32ArrayConstructor extends StObject with Instantiable0[Int32Array] with Instantiable1[ArrayBufferLike | ArrayLike[Double] | Double | Iterable[Double], Int32Array] with Instantiable2[ArrayBufferLike, Double, Int32Array] with Instantiable3[ArrayBufferLike, Double | Unit, Double, Int32Array]
@native @JSType
trait Int8Array extends StObject with NumberDictionary[Double]

A typed array of 8-bit integer values. The contents are initialized to 0. If the requested number of bytes could not be allocated an exception is raised.

A typed array of 8-bit integer values. The contents are initialized to 0. If the requested number of bytes could not be allocated an exception is raised.

@native @JSType
trait Int8ArrayConstructor extends StObject with Instantiable0[Int8Array] with Instantiable1[ArrayBufferLike | ArrayLike[Double] | Double | Iterable[Double], Int8Array] with Instantiable2[ArrayBufferLike, Double, Int8Array] with Instantiable3[ArrayBufferLike, Double | Unit, Double, Int8Array]
@native @JSType
trait Iterable[T] extends StObject
@native @JSType
trait IterableIterator[T] extends StObject with Iterator[T, Any, Unit]
@native @JSType
trait Iterator[T, TReturn, TNext] extends StObject
@JSType
trait IteratorResult[T, TReturn] extends StObject
Companion
object
Companion
class
@native @JSType
trait IteratorReturnResult[TReturn] extends StObject with IteratorResult[Any, TReturn]
Companion
object
Companion
class
@native @JSType
trait IteratorYieldResult[TYield] extends StObject with IteratorResult[TYield, Any]
Companion
object
Companion
class
@native @JSType
trait JSON extends StObject
@native @JSType
trait Map[K, V] extends StObject
@native @JSType
trait MapConstructor extends StObject with Instantiable0[Map[Any | Object, Any | Object]] with Instantiable1[Array[Tuple2[Object, Object]] | Iterable[Tuple2[Object, Object]], Map[Object, Object]]
@native @JSType
trait Math extends StObject
@native @JSType
trait NewableFunction extends Function
@native @JSType
trait Number extends StObject
@native @JSType
trait NumberConstructor extends StObject with Instantiable0[Number] with Instantiable1[Any, Number]
@native @JSType
trait Object extends StObject
Companion
object
object Object
Companion
class
@native @JSType
trait ObjectConstructor extends StObject with Instantiable0[Object] with Instantiable1[Any, Object]
@native @JSType
trait Promise[T] extends StObject

Represents the completion of an asynchronous operation

Represents the completion of an asynchronous operation

@native @JSType
trait PromiseConstructor extends StObject with Instantiable1[Function2[Function1[Object | Thenable[Object], Unit], Function1[UndefOr[Any], Unit], Unit], Promise[Object]]
@native @JSType
trait PromiseFulfilledResult[T] extends StObject with PromiseSettledResult[T]
Companion
object
@native @JSType
trait PromiseLike[T] extends StObject
@native @JSType
trait PromiseRejectedResult extends StObject with PromiseSettledResult[Any]
Companion
object
@JSType
trait PromiseSettledResult[T] extends StObject
Companion
object
Companion
class
@native @JSType
trait PropertyDescriptor extends StObject
Companion
object
Companion
class
@native @JSType
trait ProxyConstructor extends StObject with Instantiable2[Object, ProxyHandler[Object], Object]
@native @JSType
trait ProxyHandler[T]() extends StObject
Companion
object
object ProxyHandler
Companion
class
@native @JSType
trait RangeErrorConstructor extends StObject with ErrorConstructor
@native @JSType
trait ReadonlyArray[T] extends StObject with NumberDictionary[T]
@native @JSType
trait ReadonlyMap[K, V] extends StObject
@native @JSType
trait ReadonlySet[T] extends StObject
@native @JSType
trait ReferenceErrorConstructor extends StObject with ErrorConstructor
@native @JSType
trait RegExp extends StObject
@native @JSType
trait RegExpConstructor extends StObject with Instantiable1[RegExp | String, RegExp] with Instantiable2[RegExp | String, String, RegExp]
@native @JSType
trait RegExpExecArray extends StObject with Array[String]
@native @JSType
trait RegExpMatchArray extends StObject with Array[String]
@native @JSType
trait Set[T] extends StObject
@native @JSType
trait SetConstructor extends StObject with Instantiable0[Set[Object]] with Instantiable1[Array[Object] | Iterable[Object], Set[Object]]
@native @JSType
trait SharedArrayBuffer extends StObject
@native @JSType
trait SharedArrayBufferConstructor extends StObject with Instantiable1[Double, SharedArrayBuffer]
@native @JSType
trait String extends StObject with NumberDictionary[String]
@native @JSType
trait StringConstructor extends StObject with Instantiable0[String] with Instantiable1[Any, String]
@native @JSType
trait Symbol extends StObject
@native @JSType
trait SymbolConstructor extends StObject
@native @JSType
trait SyntaxErrorConstructor extends StObject with ErrorConstructor
@native @JSType
trait TemplateStringsArray extends StObject with ReadonlyArray[String]
@native @JSType
trait ThisType[T] extends StObject

Marker for contextual 'this' type

Marker for contextual 'this' type

@native @JSType
trait TypeErrorConstructor extends StObject with ErrorConstructor
@native @JSType
trait TypedPropertyDescriptor[T] extends StObject
Companion
object
@native @JSType
trait URIErrorConstructor extends StObject with ErrorConstructor
@native @JSType
trait Uint16Array extends StObject with NumberDictionary[Double]

A typed array of 16-bit unsigned integer values. The contents are initialized to 0. If the requested number of bytes could not be allocated an exception is raised.

A typed array of 16-bit unsigned integer values. The contents are initialized to 0. If the requested number of bytes could not be allocated an exception is raised.

@native @JSType
trait Uint16ArrayConstructor extends StObject with Instantiable0[Uint16Array] with Instantiable1[ArrayBufferLike | ArrayLike[Double] | Double | Iterable[Double], Uint16Array] with Instantiable2[ArrayBufferLike, Double, Uint16Array] with Instantiable3[ArrayBufferLike, Double | Unit, Double, Uint16Array]
@native @JSType
trait Uint32Array extends StObject with NumberDictionary[Double]

A typed array of 32-bit unsigned integer values. The contents are initialized to 0. If the requested number of bytes could not be allocated an exception is raised.

A typed array of 32-bit unsigned integer values. The contents are initialized to 0. If the requested number of bytes could not be allocated an exception is raised.

@native @JSType
trait Uint32ArrayConstructor extends StObject with Instantiable0[Uint32Array] with Instantiable1[ArrayBufferLike | ArrayLike[Double] | Double | Iterable[Double], Uint32Array] with Instantiable2[ArrayBufferLike, Double, Uint32Array] with Instantiable3[ArrayBufferLike, Double | Unit, Double, Uint32Array]
@native @JSType
trait Uint8Array extends StObject with NumberDictionary[Double]

A typed array of 8-bit unsigned integer values. The contents are initialized to 0. If the requested number of bytes could not be allocated an exception is raised.

A typed array of 8-bit unsigned integer values. The contents are initialized to 0. If the requested number of bytes could not be allocated an exception is raised.

@native @JSType
trait Uint8ArrayConstructor extends StObject with Instantiable0[Uint8Array] with Instantiable1[ArrayBufferLike | ArrayLike[Double] | Double | Iterable[Double], Uint8Array] with Instantiable2[ArrayBufferLike, Double, Uint8Array] with Instantiable3[ArrayBufferLike, Double | Unit, Double, Uint8Array]
@native @JSType
trait Uint8ClampedArray extends StObject with NumberDictionary[Double]

A typed array of 8-bit unsigned integer (clamped) values. The contents are initialized to 0. If the requested number of bytes could not be allocated an exception is raised.

A typed array of 8-bit unsigned integer (clamped) values. The contents are initialized to 0. If the requested number of bytes could not be allocated an exception is raised.

@native @JSType
trait Uint8ClampedArrayConstructor extends StObject with Instantiable0[Uint8ClampedArray] with Instantiable1[ArrayBufferLike | ArrayLike[Double] | Double | Iterable[Double], Uint8ClampedArray] with Instantiable2[ArrayBufferLike, Double, Uint8ClampedArray] with Instantiable3[ArrayBufferLike, Double | Unit, Double, Uint8ClampedArray]
@native @JSType
trait WeakMap[K, V] extends StObject
@native @JSType
trait WeakMapConstructor extends StObject with Instantiable0[WeakMap[Object, Object]] with Instantiable1[Array[Tuple2[Object, Object]] | Iterable[Tuple2[Object, Object]], WeakMap[Object, Object]]
@native @JSType
trait WeakSet[T]() extends StObject
@native @JSType
trait WeakSetConstructor extends StObject with Instantiable0[WeakSet[Object]] with Instantiable1[Array[Object] | Iterable[Object], WeakSet[Object]]
object anon
object stdBooleans
object stdNumbers
@JSImport("std") @native @JSType
object stdRequire extends StObject
object stdStrings

Types

type ArrayBufferLike = SharedArrayBuffer | ArrayBuffer
type Capitalize[S] = Any

Convert first character of string literal type to uppercase

Convert first character of string literal type to uppercase

type ClassDecorator = Function1[Function, Function | Unit]
type ConstructorParameters[T] = Any

Obtain the parameters of a constructor function type in a tuple

Obtain the parameters of a constructor function type in a tuple

type EvalError = Error
type Exclude[T, U] = T

Exclude from T those types that are assignable to U

Exclude from T those types that are assignable to U

type Extract[T, U] = T

Extract from T those types that are assignable to U

Extract from T those types that are assignable to U

type FlatArray[Arr, Depth] = Any
type InstanceType[T] = Any

Obtain the return type of a constructor function type

Obtain the return type of a constructor function type

type Lowercase[S] = Any

Convert string literal type to lowercase

Convert string literal type to lowercase

type MethodDecorator = Function3[Object, String | Symbol, TypedPropertyDescriptor[Any], TypedPropertyDescriptor[Any] | Unit]
type NonNullable[T] = T

Exclude null and undefined from T

Exclude null and undefined from T

type Omit[T, K] = Pick[T, Exclude[String, K]]

Construct a type with the properties of T except for those in type K.

Construct a type with the properties of T except for those in type K.

type OmitThisParameter[T] = T | Function1[Any, Any]

Removes the 'this' parameter from a function type.

Removes the 'this' parameter from a function type.

type ParameterDecorator = Function3[Object, String | Symbol, Double, Unit]
type Parameters[T] = Any

Obtain the parameters of a function type in a tuple

Obtain the parameters of a function type in a tuple

type Partial[T] = Partial & TopLevel[T]

Make all properties in T optional

Make all properties in T optional

type Pick[T, K] = Pick & TopLevel[T]

From T, pick a set of properties whose keys are in the union K

From T, pick a set of properties whose keys are in the union K

type PromiseConstructorLike = Instantiable1[Function2[Function1[Object | Thenable[Object], Unit], Function1[UndefOr[Any], Unit], Unit], Thenable[Object]]
type PropertyDecorator = Function2[Object, String | Symbol, Unit]
type PropertyDescriptorMap = StringDictionary[PropertyDescriptor]
type PropertyKey = String | Double | Symbol
type RangeError = Error
type Readonly[T] = Readonly & TopLevel[T]

Make all properties in T readonly

Make all properties in T readonly

type Record[K, T] = StringDictionary[T]

Construct a type with a set of properties K of type T

Construct a type with a set of properties K of type T

type ReferenceError = Error
type Required[T] = Required & TopLevel[T]

Make all properties in T required

Make all properties in T required

type ReturnType[T] = Any

Obtain the return type of a function type

Obtain the return type of a function type

type SyntaxError = Error
type ThisParameterType[T] = Any

Extracts the type of the 'this' parameter of a function type, or 'unknown' if the function type has no 'this' parameter.

Extracts the type of the 'this' parameter of a function type, or 'unknown' if the function type has no 'this' parameter.

type TypeError = Error
type URIError = Error
type Uncapitalize[S] = Any

Convert first character of string literal type to lowercase

Convert first character of string literal type to lowercase

type Uppercase[S] = Any

Convert string literal type to uppercase

Convert string literal type to uppercase