Skip to content

octref/vti-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demo for VTI

What's this?

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.

About

Demo for VTI

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published