long.js
long.js copied to clipboard
New: Typescript 4.7+ compatibility
Typescript 4.7^ with mode resolution strategy set to nodenext, is confused about finding export = in d.ts file and complains about default import not being allowed (when imported as import Long from "long") as the heuristics used by typescript to guess seems to be inaccurate. Having export default would help fix this.