class ExampleWebResource {

    public onLoad(executionContext: Xrm.Events.EventContext): void {
        const formContext = executionContext.getFormContext();
        formContext.ui.setFormNotification("This is a notification from the Example Web Resource.", "INFO", "exampleNotification");
    }
}

export default ExampleWebResource;
(window as any).ExampleWebResource = ExampleWebResource;