Skip to content
This repository was archived by the owner on Jan 19, 2019. It is now read-only.

Commit e28dc9c

Browse files
committed
Add test case for #126
1 parent ec1ae6f commit e28dc9c

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

tests/lib/rules/no-unused-vars.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -401,6 +401,18 @@ interface A<T extends Nullable> {
401401
export const a: A<SomeOther> = {
402402
foo: "bar"
403403
};
404+
`,
405+
// https://github.com/bradzacher/eslint-plugin-typescript/issues/126
406+
`
407+
import { Component, Vue } from 'vue-property-decorator';
408+
import HelloWorld from './components/HelloWorld.vue';
409+
410+
@Component({
411+
components: {
412+
HelloWorld
413+
}
414+
})
415+
export default class App extends Vue {}
404416
`
405417
],
406418

0 commit comments

Comments
 (0)