0

I have doubt regarding the following code. I can't understand what this means?

declare global {
    interface Window {
        DD_LOGS: any;
    }
}
window.DD_LOGS.init({
       // Code for Datadog Log
    });

Can anyone help me understand this? What does declare global, interface Window, window.DD_LOGS.init() do?

Rejin Jose
  • 41
  • 6

0 Answers0