We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d575a00 commit 03ea3cfCopy full SHA for 03ea3cf
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "create-mettle-app",
3
- "version": "1.0.1",
+ "version": "1.0.2",
4
"license": "MIT",
5
"author": "maomincoding",
6
"bin": {
template-mettle-tsx-apps/src/template/home.tsx
@@ -1,8 +1,9 @@
import { defineComponent } from 'mettle';
import { linkTo } from 'mettle-router';
+import type { OptionsProps } from 'mettle';
const home = () =>
- defineComponent(({ setData }) => {
+ defineComponent(({ setData }:OptionsProps) => {
7
const state = {
8
msg: 'hello',
9
arr: [1, 2],
0 commit comments