From e79771b13765acae074ec14ad437e68f3a633a0a Mon Sep 17 00:00:00 2001 From: Joel Wetzell Date: Mon, 7 Oct 2024 12:50:44 -0500 Subject: [PATCH] add fromString for bool types --- src/osc.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/osc.ts b/src/osc.ts index 52a9934..bdf4790 100644 --- a/src/osc.ts +++ b/src/osc.ts @@ -73,14 +73,13 @@ const oscTypeConverterMap: { [key in OSCType]: OSCTypeConverter } = { toBuffer: () => { return Buffer.alloc(0) }, - fromString: (string: string) => true + fromString: (string: string) => true, }, F: { toBuffer: () => { return Buffer.alloc(0) }, - fromString: (string: string) => false - } + fromString: (string: string) => false, }; function argsToBuffer(args: OSCArg[]) {