Skip to main content
Module

x/deno2node/src/deps.deno.ts>QuestionDotTokenableNode

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

Methods

hasQuestionDotToken(): boolean

If it has a question dot token.

getQuestionDotTokenNode(): Node<ts.QuestionDotToken> | undefined

Gets the question dot token node or returns undefined if it doesn't exist.

getQuestionDotTokenNodeOrThrow(message?: string | (() => string)): Node<ts.QuestionDotToken>

Gets the question dot token node or throws.

setHasQuestionDotToken(value: boolean): this

Sets if this node has a question dot token.

function QuestionDotTokenableNode
import { QuestionDotTokenableNode } from "https://deno.land/x/deno2node@v1.7.1/src/deps.deno.ts";

Type Parameters

T extends Constructor<QuestionDotTokenableNodeExtensionType>