UNPKG

typescript-eslint-parser-for-extra-files

Version:

An experimental ESLint custom parser for Vue, Svelte, and Astro for use with TypeScript. It provides type information in combination with each framework's ESLint custom parser.

16 lines (11 loc) 529 B
import * as tsEslintParser from '@typescript-eslint/parser'; import { ParserOptions } from '@typescript-eslint/parser'; var name = "typescript-eslint-parser-for-extra-files"; var version = "0.7.0"; declare const meta_name: typeof name; declare const meta_version: typeof version; declare namespace meta { export { meta_name as name, meta_version as version }; } declare function parseForESLint(code: string, options?: ParserOptions): ReturnType<typeof tsEslintParser.parseForESLint>; export { meta, name, parseForESLint };