Skip to content

Home > sculp-js > TypeMapping

TypeMapping interface

类型标签到 TypeScript 类型的映射

Signature:

typescript
export interface TypeMapping

Properties

Property

Modifiers

Type

Description

Arguments

IArguments

Array

unknown[]

ArrayBuffer

ArrayBuffer

AsyncFunction

Function

BigInt

bigint

BigInt64Array

BigInt64Array

BigUint64Array

BigUint64Array

Boolean

boolean

DataView

DataView

Date

Date

Error

Error

Float32Array

Float32Array

Float64Array

Float64Array

Function

Function

Int16Array

Int16Array

Int32Array

Int32Array

Int8Array

Int8Array

Map

Map<unknown, unknown>

Null

null

Number

number

Object

Record<string, unknown>

Promise

Promise<unknown>

RegExp

RegExp

Set

Set<unknown>

String

string

Symbol

symbol

Uint16Array

Uint16Array

Uint32Array

Uint32Array

Uint8Array

Uint8Array

Uint8ClampedArray

Uint8ClampedArray

Undefined

undefined

Released under the MIT License.