UNPKG

eslint-module-utils

Version:

Core utilities to support eslint-plugin-import and other module-related plugins.

8 lines (4 loc) 167 B
import type { AST } from 'eslint'; declare function isModule(ast: AST.Program): boolean; declare function test(content: string): boolean; export { isModule, test }