Subscription’ is deprecated

The solution for “Subscription’ is deprecated” can be found here. The following code will assist you in solving the problem.

/*subscribe isn’t deprecated but
in the future, subscribe will only take one argument:
either the next handler (a function) or an observer object.*/

.subscribe({
next: this.handleUpdateResponse.bind(this),
error: this.handleError.bind(this)
});

Thank you for using DeclareCode; We hope you were able to resolve the issue.

More questions on [categories-list]

0
inline scripts encapsulated in