mattpocock / ts-error-translator

VSCode extension to turn TypeScript errors into plain English
https://ts-error-translator.vercel.app
2.36k stars 90 forks source link

Translation request for 2354 #233

Open Korazza opened 9 months ago

Korazza commented 9 months ago

Error Text

This syntax requires an imported helper but module 'tslib' cannot be found.

Supporting Information

Please provide other information which led to this error, and any specific questions you have about it:

I am getting this in a storybook story.

type InputArgs = React.InputHTMLAttributes<HTMLInputElement> & {
    label: boolean
}
//                                           / here
const render = ({ label, type = "text", ...args }: InputArgs) => {
// ...