Closed G-Rath closed 1 year ago
This fixes a false positive when typecasting a global require in typescript, like so:
const wcwidth = require('wcwidth') as (str: string) => number;
Happy to add tests if you're happy having @typescript-eslint/parser as a dev dependency :)
@typescript-eslint/parser
This fixes a false positive when typecasting a global require in typescript, like so:
Happy to add tests if you're happy having
@typescript-eslint/parser
as a dev dependency :)