Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

std/collections/mod.ts>MapKeyType

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
type alias MapKeyType
import { type MapKeyType } from "https://deno.land/std@0.217.0/collections/mod.ts";

Get map values types

definition: T extends Map<infer K, unknown> ? K : never