feat(Int)
This commit is contained in:
3
types/Int.d.ts
vendored
Normal file
3
types/Int.d.ts
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
import { Type } from ".";
|
||||
|
||||
export function Int(bits: 8 | 16 | 32, sign: 'signed' | 'unsigned'): Type;
|
||||
3
types/index.d.ts
vendored
3
types/index.d.ts
vendored
@ -1,12 +1,13 @@
|
||||
import { memcpy } from "./mem";
|
||||
import { limits } from "./limits";
|
||||
import { Type } from "./Type"
|
||||
import { Int } from "./Int"
|
||||
import { ConstString } from "./ConstString"
|
||||
import { ConstArray } from "./ConstArray";
|
||||
import { ConstDataView } from "./ConstDataView";
|
||||
import { Struct } from "./Struct";
|
||||
|
||||
export { memcpy, limits, Type, ConstString, ConstArray, ConstDataView, Struct }
|
||||
export { memcpy, limits, Type, Int, ConstString, ConstArray, ConstDataView, Struct }
|
||||
|
||||
export type SerializableType = NumberConstructor | StringConstructor | ArrayConstructor | DataViewConstructor | Type
|
||||
export type Serializable = unknown
|
||||
|
||||
Reference in New Issue
Block a user