Skip to content

How to solve: Don't use Object as a type..... #125

Answered by ndoschek
rsoika asked this question in All other
Discussion options

You must be logged in to vote

Hi @rsoika,
You can use to the non-primitive object type (which was added in Typescript 2.2) instead.
This is most likely an issue due to Typescript and ESLint versions. It is also listed in the Typescript Do's and Don'ts
And you are right, it is confusing and we should change that on our side as well. I will create an issue for that!

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@ndoschek
Comment options

ndoschek Mar 7, 2022
Collaborator

@tortmayr
Comment options

tortmayr Mar 7, 2022
Collaborator

@rsoika
Comment options

@ndoschek
Comment options

ndoschek Mar 7, 2022
Collaborator

@rsoika
Comment options

Answer selected by ndoschek
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants