UNPKG

@jsdocs-io/extractor

Version:

The API extractor for npm packages powering jsdocs.io

4 lines (3 loc) 301 B
import { Node, type FunctionDeclaration, type ModuleDeclaration, type VariableDeclaration } from "ts-morph"; /** `isGlobal` checks if a declaration is a global ambient declaration. */ export declare function isGlobal(node: Node): node is VariableDeclaration | FunctionDeclaration | ModuleDeclaration;