File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
"build": "vue-cli-service build",
88
"lint": "vue-cli-service lint",
99
"test:unit": "vue-cli-service test:unit"
10+
"vuetype": "vuetype src/components",
11+
"vuetype:w": "vuetype -w src/components"
1012
},
1113
"dependencies": {
1214
"vue": "^2.5.16",
@@ -27,5 +29,6 @@
2729
"ts-jest": "^23.0.0",
2830
"typescript": "^3.0.0",
2931
"vue-template-compiler": "^2.5.16"
32+
"vuetype": "^0.3.2"
3033
}
3134
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
import { Vue } from 'vue-property-decorator';
2+
export default class HelloVue extends Vue {
3+
/** props */
4+
private val;
5+
/** emit */
6+
clickButton(val: string): void;
7+
/** data */
8+
value: string;
9+
inputValue: string;
10+
/** lifecylce hook */
11+
mounted(): void;
12+
/** computed */
13+
readonly isDisabled: boolean;
14+
/** method */
15+
handleInput($event: any): void;
16+
handleClick(): void;
17+
}

0 commit comments

Comments
 (0)