Skip to content

Instantly share code, notes, and snippets.

View emilniklas's full-sized avatar

Emil Broman emilniklas

View GitHub Profile
dependencies:
embla: ^0.1.13
embla_trestle: ^0.1.0
@emilniklas
emilniklas / usage.js
Last active March 31, 2017 17:00
Prototypal mixins i JavaScript + strong TypeScript types
import { mix } from './mix'
class Mixin1 {
one () {}
}
class Mixin2 {
two () {}
}