fix(type Serializable): array
This commit is contained in:
2
types/index.d.ts
vendored
2
types/index.d.ts
vendored
@ -9,7 +9,7 @@ import { Struct } from "./Struct";
|
||||
export { memcpy, limits, Type, ConstString, ConstArray, ConstDataView, Struct }
|
||||
|
||||
export type SerializableType = NumberConstructor | StringConstructor | ArrayConstructor | DataViewConstructor | Type
|
||||
export type Serializable = number | string | array | DataView
|
||||
export type Serializable = number | string | Serializable[] | DataView
|
||||
|
||||
/**
|
||||
* @param {DataView} dv destination memory
|
||||
|
||||
Reference in New Issue
Block a user