3 ms·
Agreed. But it's not an either-or. Interfaces are a TypeScript thing, not an ES6 thing. TypeScript is (or tries to be) ES6/ES2015 plus interfaces/types. If
by softawre 11y ago
Agreed. But it's not an either-or. Interfaces are a TypeScript thing, not an ES6 thing.
TypeScript is (or tries to be) ES6/ES2015 plus interfaces/types. If you want types use TypeScript.