This assumes index.d.ts is managed manually and not autogenerated by some process as I didn't see any related script in package.json.
Also I've not worked with TSD so far, so I only added the missing example values for customLevels and customColors parameters to the options.
A quick inverse check confirmed tests working as expected as they failed without adding customColors to the type definition. :+1:
See https://github.com/pinojs/pino-pretty/issues/439
Also contains minor cleanup of type test-file.
This assumes
index.d.ts
is managed manually and not autogenerated by some process as I didn't see any related script inpackage.json
.Also I've not worked with TSD so far, so I only added the missing example values for
customLevels
andcustomColors
parameters to the options. A quick inverse check confirmed tests working as expected as they failed without addingcustomColors
to the type definition. :+1: