Yuyz0112 / vue-type-check

a type checker for typescript written Vue components
http://www.myriptide.com/vue-type-check/
96 stars 19 forks source link

Add new option excludeDir and onlyTypeScript. Include *.{ts,tsx} files for diagnostics #8

Closed kahirokunn closed 4 years ago

kahirokunn commented 4 years ago

excludeDir

excludeDir for exclude some directories. example: __tests__

onlyTypeScript.

onlyTypeScript just for filter diagnostics vue files that lang != tsx?. because some javascript files is not for diagnostics.

example: javascript files.

include *.{ts,tsx} files for diagnostics.

I want to typecheck vue ts tsx files in the CI.

Yuyz0112 commented 4 years ago

@kahirokunn Thanks! The code looks good to me.

And since this project already has package-lock.json in git, could you remove yarn.lock or help switch to yarn.lock(use yarn is ok for me).

kahirokunn commented 4 years ago

@Yuyz0112 Thank you for your reply! I try to removed package-lock.json.🙏