diff --git a/tests/lib/rules/no-unused-vars.js b/tests/lib/rules/no-unused-vars.js index af66fd5..08588a3 100644 --- a/tests/lib/rules/no-unused-vars.js +++ b/tests/lib/rules/no-unused-vars.js @@ -401,6 +401,18 @@ interface A { export const a: A = { foo: "bar" }; + `, + // https://github.com/bradzacher/eslint-plugin-typescript/issues/126 + ` +import { Component, Vue } from 'vue-property-decorator'; +import HelloWorld from './components/HelloWorld.vue'; + +@Component({ + components: { + HelloWorld + } +}) +export default class App extends Vue {} ` ],