Check TypeScript errors during build (#1081)
* migrate jsconfig.json to tsconfig.json
* add @ts-expect-error
* add type assertion
* fix types for navigator.gpu
* fix types for Processor
* add @ts-expect-error
* ignore error in batch_decode
* Add types for MultiModalityCausalLM