[Bug]: TransformableInfo is not declared with symbol types
Opened this issue · 0 comments
NaamanTsur commented
The problem
According to the Logform README, the info object (TransformableInfo
interface) contains three Symbols for the internal state:
These Symbols are not represented in the TransformableInfo interface, so trying to access those symbols in Typescript will cause a Type 'unique symbol' cannot be used as an index type.
error.
What version of Logform presents the issue?
v2.4.2
What version of Node are you using?
v16.7.0
If this worked in a previous version of Logform, which was it?
No response
Minimum Working Example
No response
Additional information
No response
🔎 Search Terms
Symbol, Typescript, TransformableInfo