Skip to main content

Type Alias: TypeAliasTypeMap

TypeAliasTypeMap = object

Type alias -> the types entry it resolves to.

This is the single source of truth for what an alias means: the JS types in TypeAliasMap are derived from it, so a string alias and the equivalent types object always marshal to the same JS type.

Properties

bool_u32

readonly bool_u32: typeof bool_u32


bool_u8

readonly bool_u8: typeof bool_u8


buffer

readonly buffer: typeof buffer


char

readonly char: typeof schar


cstring

readonly cstring: typeof string


double

readonly double: typeof double


f32

readonly f32: typeof float


f64

readonly f64: typeof double


float

readonly float: typeof float


i16

readonly i16: typeof sint16


i32

readonly i32: typeof sint32


i64

readonly i64: typeof sint64


i8

readonly i8: typeof sint8


int

readonly int: typeof sint32


int16_t

readonly int16_t: typeof sint16


int32_t

readonly int32_t: typeof sint32


int64_t

readonly int64_t: typeof sint64


int8_t

readonly int8_t: typeof sint8


long

readonly long: typeof slong


pointer

readonly pointer: typeof pointer


ptr

readonly ptr: typeof pointer


schar

readonly schar: typeof schar


sint

readonly sint: typeof sint


sint16

readonly sint16: typeof sint16


sint32

readonly sint32: typeof sint32


sint64

readonly sint64: typeof sint64


sint8

readonly sint8: typeof sint8


size_t

readonly size_t: typeof size


slong

readonly slong: typeof slong


sshort

readonly sshort: typeof sshort


ssize_t

readonly ssize_t: typeof ssize


string

readonly string: typeof string


u16

readonly u16: typeof uint16


u32

readonly u32: typeof uint32


u64

readonly u64: typeof uint64


u8

readonly u8: typeof uint8


uchar

readonly uchar: typeof uchar


uint

readonly uint: typeof uint


uint16

readonly uint16: typeof uint16


uint16_t

readonly uint16_t: typeof uint16


uint32

readonly uint32: typeof uint32


uint32_t

readonly uint32_t: typeof uint32


uint64

readonly uint64: typeof uint64


uint64_t

readonly uint64_t: typeof uint64


uint8

readonly uint8: typeof uint8


uint8_t

readonly uint8_t: typeof uint8


ulong

readonly ulong: typeof ulong


ushort

readonly ushort: typeof ushort


void

readonly void: typeof void