Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: 馃悰 Allow imported TS in JS SFCs
Previously when importing TypeScript from a plain JavaScript SFC, the validator value resolver assumed that imported modules would also be JavaScript (or rather at best flow). This change updates the resolver to check the extension of the file about to be parsed to use the TypeScript plugin rather than the flow plugin when the file extension is `.ts` or `.tsx`
- Loading branch information