Skip to main content
Module

x/deno2node/src/deps.deno.ts>ConditionalTypeNode#getTrueType

Compile your Deno project to run on Node.js.
Go to Latest
method ConditionalTypeNode.prototype.getTrueType
import { ConditionalTypeNode } from "https://deno.land/x/deno2node@v1.7.1/src/deps.deno.ts";

Gets the conditional type node's true type.

Ex. In CheckType extends ExtendsType ? TrueType : FalseType returns TrueType.

Returns

TypeNode<ts.TypeNode>