TypeScript Type Compatibility
Introduction
1 | interface A { |
At least same member
1 | interface A { |
Functions
1 | let a = (a: number) => a |
Classes
1 | class Animal { |
Generics
1 | interface Empty<T> {} |
1 | interface A { |
1 | interface A { |
1 | let a = (a: number) => a |
1 | class Animal { |
1 | interface Empty<T> {} |