Closed as not planned
Description
I want to write my own rule specific to my project only. It should work vue script setup.
I write rules in typescript.
I need defineScriptSetupVisitor in my ts file.
import { defineScriptSetupVisitor } from 'eslint-plugin-vue/lib/utils';
or
import utils from 'eslint-plugin-vue/lib/utils';
I got message:
"TS7016: Could not find a declaration file for module 'eslint-plugin-vue/lib/utils'. 'eslint-plugin-vue/lib/utils/index.js' implicitly has an 'any' type. Try npm i --save-dev @types/eslint-plugin-vue
if it exists or add a new declaration (.d.ts) file containing declare module 'eslint-plugin-vue/lib/utils';
"
Am I doing something wrong or is this package not usable with typescript?
Metadata
Metadata
Assignees
Labels
No labels