diff --git a/types/index.d.ts b/types/index.d.ts index bc5d21e..075019e 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -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