Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/mixwithts/mod.ts>BareMixin

TypeScript compatible version of Justin Fagani's mixin library for ES6
Latest
variable BareMixin
import { BareMixin } from "https://deno.land/x/mixwithts@1.1.2/mod.ts";

A basic mixin decorator that applies the mixin using the apply function so that it can be used with isApplicationOf, hasMixin, and other mixin decorator functions.

type

<C extends Constructable, T>(mixin: mixin<C, T>) => mixin<C, T>