diff --git a/package.json b/package.json index 706da4d49..c1825d59c 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ } }, "lint-staged": { - "*.{js,vue}": [ + "*.{ts,tsx,js,vue}": [ "eslint", "git add" ], diff --git a/packages/overlay/index.tsx b/packages/overlay/index.tsx index bd6323de5..02cedf261 100644 --- a/packages/overlay/index.tsx +++ b/packages/overlay/index.tsx @@ -1,5 +1,5 @@ import { use } from '../utils'; -import { emit, inherit } from '../utils/functional'; +import { inherit } from '../utils/functional'; // Types import { CreateElement, RenderContext } from 'vue/types';