type alias List.UnNestimport { type List } from "https://deno.land/x/ts_toolbelt_unofficial@1.1.0/mod.ts"; const { UnNest } = List; Remove a dimension of L ExamplesExample 1 Type ParametersL extends Listoptionalstrict extends Boolean = 1definition: L extends unknown ? _UnNest<L, strict> : never