oak-domain/lib/compiler/identifier.d.ts

10 lines
327 B
TypeScript

import * as ts from 'typescript';
/**
* 判断节点是否为 t 函数调用
* @param node ts.Node
* @param typeChecker ts.TypeChecker
* @returns boolean
* t: (key: string, params?: object | undefined) => string
*/
export declare const isTCall: (node: ts.Node, typeChecker: ts.TypeChecker, modules: string[]) => boolean;