Types definitions

In the docs it says it uses the same API as formidable. There's an easy and straightforward to extend the type definitions from formidable to formidable-serverless?
I was thinking in installing like this:
npm i --save formidable-serverless
i --save-dev @types/formidable
And somehow instruct Node to use formidable's types for formidable-serverless.
Yes the types from formidable should work for formidable-serverless as long as the versions match.
I might just create/publish @types/formidable-serverless when I get the chance...
is it done ? @types/ ?
a workaround for the error is to use CommonJS import for that
const formidable = require("formidable-serverless");
Wouldn't that mean formidable is of type any?
EDIT: Could probably cast the above to some variation of typeof import("formidable") to avoid disabling TypeScript unnecessarily.
A workaround for this is to copy code from formidable-serverless.js and make a file in your project and paste that code there and then just use import formidable from "./formidable-serverless"; this is the best solution that we have so far. Thanks everyone. I think this issue can be closed for now. (Edit: This solution supports TypeScript)