@polymer/polymer
Version:
The Polymer library makes it easy to create your own web components. Give your element some markup and properties, and then use it on a site. Polymer provides features like dynamic templates and data binding to reduce the amount of boilerplate you need to
12 lines (8 loc) • 328 B
TypeScript
// tslint:disable:variable-name Describing an API that's defined elsewhere.
export {dedupingMixin};
/**
* Wraps an ES6 class expression mixin such that the mixin is only applied
* if it has not already been applied its base argument. Also memoizes mixin
* applications.
*/
declare function dedupingMixin<T>(mixin: T): T;