Closed FoxxMD closed 8 months ago
Built on #58 -- adds Typescript typings for the default pino-roll export.
Unfortunately this is not ready to merge due to this library using CJS-style exports which cause issues with importing in ESM-style projects.
https://github.com/microsoft/TypeScript/issues/52086 https://github.com/microsoft/TypeScript/issues/53045
Possibly can be fixed by outputting different builds for esm and cjs and specifying in package.json (using something like tshy) or by updating this library to be ESM on a major version bump (breaking change).
Built on #58 -- adds Typescript typings for the default pino-roll export.
Unfortunately this is not ready to merge due to this library using CJS-style exports which cause issues with importing in ESM-style projects.
https://github.com/microsoft/TypeScript/issues/52086 https://github.com/microsoft/TypeScript/issues/53045
Possibly can be fixed by outputting different builds for esm and cjs and specifying in package.json (using something like tshy) or by updating this library to be ESM on a major version bump (breaking change).