Closed pacexy closed 10 months ago
extends
type
interface
So, in our case, it's better to back to type we previously used.
extends
is never used in the lib, so we do not need to care about the slow performance of intersection.type
is safer thaninterface
for users, it will not cause issues like "Index signature for type 'string' is missing".So, in our case, it's better to back to
type
we previously used.