angular / components

Component infrastructure and Material Design components for Angular
https://material.angular.io
MIT License
24.39k stars 6.76k forks source link

fix(multiple): use cross-compatible type for setTimeout #30073

Closed crisbeto closed 22 hours ago

crisbeto commented 2 days ago

Fixes that some places were raising an error due to the return type of setTimeout being different between the browser and Node.

devversion commented 22 hours ago

It's probably a bug if @types/node leaks into those source files; but this change still LGTM