UNPKG

@microsoft/sp-webpart-base

Version:

SharePoint Framework support for building web parts

13 lines 548 B
/** * Execute the passed delegate and eat up the exception stack. */ import { type _ILogSource } from '@microsoft/sp-diagnostics'; /** * Execute the passed in delegate with a guarantee that no exception will leak out. * Do not use this normally. Only in error handling scenarios where you would like * to be defesive. * @param method - method to execute. * @param logSource - log source. */ export declare function executeWithoutFailing(method: () => void, logSource?: _ILogSource): void; //# sourceMappingURL=ExecuteWithoutFailing.d.ts.map