Russell Steadman
Russell Steadman
Hi Cuong! This is currently not possible, but I think this would be a good addition. I will add the `a` anchor DOM element as the second argument to the...
The source of this error is: https://github.com/dcodeIO/long.js/blob/3cea40db4c29bc90deab06f0e013467b737db8e4/index.d.ts#L446 This is only compatible with synthetic ES modules being exported as CommonJS. For true ES modules this should be: ```js export default Long;...
It might be useful to switch the source files to TypeScript, and then the issues would be able to be caught automatically and the `import type MyDefaultType from ...` and...
The [next.js configuration template file](https://github.com/vercel/next.js/blob/canary/packages/create-next-app/templates/default/js/next.config.js) has a good example of importing types in JSDoc for pure JS files. If you don't want to convert the source to TypeScript, it may...