Fix parameter type (when -> when?)
Merge pull request #3301 from kubosho/fix-parameter-type-to-waa

waa.d.ts: Fix parameter type (when -> when?)