Add typing for spectrum
fix parameters in methods to include name
Merge pull request #3187 from M-Zuber/spectrum-typings

Add typings for spectrum.js