Skip to main content

One post tagged with "Error"

Error tag description

View All Tags

Special characters while copy pasting

· 3 min read
Vikram
Software Architect

I was writing some React code and encountered a strange issue. While passing data through function parameters, even with correct type definitions, I got this error:

Type '{ name: string; type̵: string; size: string; }' is not assignable to type '{ name: string; type: string; size: string; }'.\n Object literal may only specify known properties, and '\"type̵\"' does not exist in type '{ name: string; type: string; size: string; }'.

`