Skip to main content
Module

x/ts_morph/mod.ts>ModuleDeclaration#getDeclarationKindKeyword

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

Gets the namespace or module keyword or returns undefined if it's global.

Returns

Node<ts.Node> | undefined