Update index.d.ts (#4993)
Update index.d.ts (#4993)

Updating type to reflect implementation.
realm/realm-js,realm/realm-js,realm/realm-js,realm/realm-js,realm/realm-js,realm/realm-js,realm/realm-js,realm/realm-js,realm/realm-js