import { type ElementOf } from "https://deno.land/x/ts_essentials@v9.1.2/lib/types.ts";
Easily extract the type of a given array's elements
definition: T extends readonly (infer ET)[] ? ET : never
import { type ElementOf } from "https://deno.land/x/ts_essentials@v9.1.2/lib/types.ts";
Easily extract the type of a given array's elements