Demo for VTI
A GitHub action running vti diagnostics
on each commit to type-check your Vue project.
Output for latest commit on master:
Getting diagnostics from: [ 'src/App.vue', 'src/components/HelloWorld.vue' ]
File : /Users/pine/Code/workshop/vti-demo/src/App.vue
Error: Type '{ name: string; }' is missing the following properties from type 'String': charAt, charCodeAt, concat, indexOf, and 41 more.
File : /Users/pine/Code/workshop/vti-demo/src/components/HelloWorld.vue
Error: Property 'name' does not exist on type 'String'.
You can run yarn && yarn type-check
to get these errors on CLI as well.
This PR fixes the type error and the build then passes.