Octal!
Octal!
DDeno
Created by Octal! on 7/29/2023 in #help
Object to tuple of tuple of keys and type?
{owo: string, uwu: number} -> {owo: ["owo", string], uwu: ["uwu", number]} -> [["owo", string], ["uwu", number]] -> {owo: string, uwu: undefined} | {owo: undefined, uwu: number}
7 replies
DDeno
Created by Octal! on 7/29/2023 in #help
Object to tuple of tuple of keys and type?
7 replies
DDeno
Created by Octal! on 7/29/2023 in #help
Object to tuple of tuple of keys and type?
I converted the object to and object of it's keys to a tuple of the current key and it's type, then converted it to a tuple of it's types
7 replies
DDeno
Created by Octal! on 7/29/2023 in #help
Object to tuple of tuple of keys and type?
Aha I figured it out
7 replies
DDeno
Created by Octal! on 7/29/2023 in #help
Object to tuple of tuple of keys and type?
I wanna do it on the type level
7 replies
DDeno
Created by Octal! on 11/10/2022 in #help
Synchronous read single line from Deno.stdin
I should have thought of that lmao
4 replies