D
Deno
Object to tuple of tuple of keys and type? - Deno
O
Deno
β’
3y ago
β’
6 replies
Octal!
Object to tuple of tuple of keys and type?
Example
:
type
SomeType
=
{
owo
:
string
uwu
:
number
}
type
SomeType
=
{
owo
:
string
uwu
:
number
}
Into
type
SomeType
=
[
[
"owo"
,
string
],
[
"uwu"
,
number
]
]
type
SomeType
=
[
[
"owo"
,
string
],
[
"uwu"
,
number
]
]
Deno
Join
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
How to assert object with a field of a given type?
D
DrPotat / help
3y ago
Interface with unknown amount of keys but all the same type
K
Kay / help
2y ago
RustyV8: Example of creating a TypedArray?
K
Kalleby Santos / help
2y ago
type error of express
V
vinit_parekh / help
16mo ago