Add missing parameter.

This commit is contained in:
Balazs Erdos
2017-03-14 15:48:45 +01:00
parent e76df9db34
commit 04fed0d702

3
riot/index.d.ts vendored
View File

@@ -205,8 +205,9 @@ declare namespace riot {
* Register a shared mixin, globally available to be used in any tag using `TagInstance.mixin(mixinName)`
* @param mixinName Name of the mixin
* @param mixinObject Mixin object
* @param isGlobal Is global mixin?
*/
function mixin(mixinName: string, mixinObject: TagMixin): void;
function mixin(mixinName: string, mixinObject: TagMixin, isGlobal?: boolean): void;
/**
* Create a new custom tag “manually” without the compiler. Returns name of the tag.