mirror of
https://github.com/jwetzell/osc-js.git
synced 2026-08-24 00:09:01 +00:00
add support for osc array types
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
export type OSCType = 's' | 'i' | 'f' | 'b' | 'T' | 'F' | 't' | 'r' | 'N';
|
||||
export type OSCType = 's' | 'i' | 'f' | 'b' | 'T' | 'F' | 't' | 'r' | 'N' | '[' | ']';
|
||||
export type OSCArg = {
|
||||
type: OSCType;
|
||||
value: string | number | Uint8Array | boolean | OSCTimeTag | OSCColor | bigint | null;
|
||||
@@ -20,7 +20,7 @@ export type OSCBundle = {
|
||||
|
||||
export type OSCMessage = {
|
||||
address: string;
|
||||
args: OSCArg[];
|
||||
args: (OSCArg | OSCArg[])[];
|
||||
};
|
||||
|
||||
export type OSCTypeConverter = {
|
||||
|
||||
Reference in New Issue
Block a user