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

std/collections/mod.ts>PartialByType

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

Filter of keys matching a given type

definition: [K in keyof Tin keyof T[K] extends U ? K : never]: T[K]