Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/ts_morph/ts_morph.d.ts>Type#getArrayElementType

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Go to Latest
method Type.prototype.getArrayElementType
import { Type } from "https://deno.land/x/ts_morph@15.1.0/ts_morph.d.ts";

Gets the array element type or returns undefined if it doesn't exist (ex. for T[] it would be T).

Returns

Type<ts.Type> | undefined