Open in app

Sign In

Write

Sign In

Anton Golub
Anton Golub

3 Followers

Home

About

Jan 22, 2020

A better type inference for class mixins in TypeScript 3.x

This note demonstrates the way of how to avoid manual types declaration when classes are combined by mixing. Mixin is a well-known technique which compensates the lack of built-in multiple inheritance in TS/JS. This is partly a workaround, but everything is good enough with typings as long as we adhere…

Typescript

2 min read

A better type inference for class mixins in TypeScript 3.x
A better type inference for class mixins in TypeScript 3.x
Typescript

2 min read

Anton Golub

Anton Golub

3 Followers

JS Enthusiast / System Architect at QIWI

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech