Skip to content

Commit 4d158a3

Browse files
committed
test: add explicit return type for render, fixing warnings
the rule `explicit-module-boundary-types` was added to `@typescript-eslint/recommended` in v3 with the severity level `warn`.
1 parent e331f97 commit 4d158a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/fixtures/default/src/HelloWorld.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { Component, Prop, Vue } from 'vue-property-decorator';
44
export default class HelloWorld extends Vue {
55
@Prop() private msg!: string;
66

7-
render() {
7+
render(): JSX.Element {
88
return (
99
<div class="hello">
1010
<h1>{ this.msg }</h1>

0 commit comments

Comments
 (0)