UNPKG

@typescript-eslint/typescript-estree

Version:

A parser that converts TypeScript source code into an ESTree compatible form

4 lines (3 loc) 181 B
import * as ts from 'typescript'; import type { TSNode } from './ts-estree'; export declare function checkSyntaxError(tsNode: ts.Node, parent: TSNode, allowPattern: boolean): void;