Can I use a typescript in single file components?
I expected something like:
<script lang="typescript">
export default (props: Props, { $store, $f7, $el, $ref, $on }) => {
return $render;
}
</script>
Is there any examples?
Can I use a typescript in single file components?
I expected something like:
<script lang="typescript">
export default (props: Props, { $store, $f7, $el, $ref, $on }) => {
return $render;
}
</script>
Is there any examples?