import { Type } from "https://deno.land/x/ts_morph@18.0.0/ts_morph.d.ts";
Gets the array element type or throws if it doesn't exist (ex. for T[]
it would be T
).
x/ts_morph/ts_morph.d.ts>Type#getArrayElementTypeOrThrow
import { Type } from "https://deno.land/x/ts_morph@18.0.0/ts_morph.d.ts";
Gets the array element type or throws if it doesn't exist (ex. for T[]
it would be T
).