You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
exporttypeTributeOptions<T>=|TributeCollection<T>|{// pass an array of config objectscollection: Array<TributeCollection<{[key: string]: any}>>;};
As you can see it uses T generic for the single collection TributeCollection, but another one for the array of collections Array<TributeCollection<{ [key: string]: any }>>.
Thanks,
Vadim
The text was updated successfully, but these errors were encountered:
Hi,
There is an issue with TypeScript typings here: https://github.com/zurb/tribute/blob/master/tributejs.d.ts#L94
As you can see it uses T generic for the single collection TributeCollection, but another one for the array of collections Array<TributeCollection<{ [key: string]: any }>>.
Thanks,
Vadim
The text was updated successfully, but these errors were encountered: