I want to check typescript type before commit, So i use tsc --noEmit $(changedFile). However, This command can not specify config file.
I found --project option, But this option will check entire project and i just want to check changedFile, Because some old files has type error but do not need to handle.
So how can i only check changedFile type before commit ?