#types X and X are not identical

9 messages · Page 1 of 1 (latest)

heady crystal
#

Hello, I have a series of errors that don't make any sense. Screenshot attached.

proven parrot
#

just because two types have the same name doesn't mean they have the same shape

#

remember TypeScript only cares about the shape of the object for them to be considered identical, not the name of their types

#

if those two types come from two different packages and have different shapes, you'll run into those kinds of errors

#

note you seem to have other kinds of errors as well

ElementClass cannot simultaneously extend [...]

#

@heady crystal you should provide a minimal reproduction for your problem

#

otherwise we can't really help you

#

maybe try to enable skipLibCheck, it should help

heady crystal