mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-01 22:38:16 +08:00
By declaring the spectrum function with the optional options parameter this function will allways be chosen by typescript. All the other spectrum functions where you supply a method name can't be called. Moving the function with optional options parameter to the end of the file will fix this problem.