Docs: copy/pasta left a type annotation from the IDLs in an example

Review URL: https://codereview.chromium.org/732163003