Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: TransformableInfo is not declared with symbol types #211

Open
NaamanTsur opened this issue Sep 29, 2022 · 0 comments
Open

[Bug]: TransformableInfo is not declared with symbol types #211

NaamanTsur opened this issue Sep 29, 2022 · 0 comments

Comments

@NaamanTsur
Copy link

The problem

According to the Logform README, the info object (TransformableInfo interface) contains three Symbols for the internal state:
image

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant