Par9uet
Par9uet
maybe we can use `InstanceType` to get instance type, but it expose many properties that we don't need. 
use `render` property. render by `h` fn ```html import { defineComponent, h } from "vue"; export default defineComponent({ name: "HelloWorld", setup() { const msg = () => { console.log("msg"); };...
`InstanceType` tool would expose many properties that you don't need.  or you can create a type to describe Comp instance instead of depend on `InstanceType` tool. ```typescript type CompInst...
i have a try, and it can't get type hint from ts by `InstanceType`, maybe it is a type bug for `vue` 
see #503 .
`https://cors-anywhere.azm.workers.dev/https://github.com/login/oauth/access_token` 这个被墙了把
[解决 Gitalk 无法获取 Github Token 问题](https://prohibitorum.top/7cc2c97a15b4.html)
> > [解决 Gitalk 无法获取 Github Token 问题](https://prohibitorum.top/2022/07/26/%E8%A7%A3%E5%86%B3-Gitalk-%E6%97%A0%E6%B3%95%E8%8E%B7%E5%8F%96-Github-Token-%E9%97%AE%E9%A2%98/) > > 可以暂时先用你的么,感谢 没问题啊,随便用,反正是云服务,免费的
two way to fix it in `nuxt.config.ts` ```javascript export default defineNuxtConfig({ // ... typescript: { tsConfig: { compilerOptions: { // add it types: ["unplugin-icons/types/vue"], }, }, }, }); ``` then...
it seems that there aren't infomation about how to configure with typescript in README ? could you add some information about it in README ? @antfu