Posted on January 9, 2023
programmingangularnewserror
The problem is that the two "overloads" are identical in signature, and the deprecated one from a node is being picked because it was loaded last. You need to use the window.atob(...) or window.btoa(...) functions.atob() is incorrectly marked as deprecated.
The solution that works for me is updating it as follows.
this.activePostId = +window.atob(params.get('pid'));