Par9uet

Results 12 comments of Par9uet

maybe we can use `InstanceType` to get instance type, but it expose many properties that we don't need. ![image](https://user-images.githubusercontent.com/48575405/189513777-6082f2d4-49e5-4f29-b6d4-9e53a3fe1f00.png)

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. ![image](https://user-images.githubusercontent.com/48575405/189513777-6082f2d4-49e5-4f29-b6d4-9e53a3fe1f00.png) 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` ![image](https://user-images.githubusercontent.com/48575405/189525290-84184463-84d5-4bcf-a8f3-3e21d9c9bb2c.png)

`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