Skip to main content
Deno 2 is finally here 🎉️
Learn more
Extremely Popular
Go to Latest
type alias RemoveFirstFromTuple
import { type RemoveFirstFromTuple } from "https://deno.land/x/discordeno@13.0.0-rc45/template/beginner/deps.ts";

Type Parameters

T extends any[]
definition: T["length"] extends 0 ? [] : ((...b: T) => void) extends (a: any, ...b: infer I) => void ? I : []