Add the pattern class to the fabric js typeings.
typo for the source, should be any, not function
Merge pull request #2842 from tigerswithguitars/master

fabricjs: Add the pattern class to the definitions