Explicit empty catch (#349)
This commit is contained in:
@@ -9,4 +9,6 @@ export async function initWasm (): Promise<void> {
|
||||
await initBridge(createWasm);
|
||||
}
|
||||
|
||||
initWasm().catch(undefined);
|
||||
initWasm().catch((): void => {
|
||||
// cannot happen, initWasm doesn't throw
|
||||
});
|
||||
|
||||
@@ -9,4 +9,6 @@ export async function initWasm (): Promise<void> {
|
||||
await initBridge(createWasm);
|
||||
}
|
||||
|
||||
initWasm().catch(undefined);
|
||||
initWasm().catch((): void => {
|
||||
// cannot happen, initWasm doesn't throw
|
||||
});
|
||||
|
||||
@@ -9,4 +9,6 @@ export async function initWasm (): Promise<void> {
|
||||
await initBridge(createWasm);
|
||||
}
|
||||
|
||||
initWasm().catch(undefined);
|
||||
initWasm().catch((): void => {
|
||||
// cannot happen, initWasm doesn't throw
|
||||
});
|
||||
|
||||
@@ -9,4 +9,6 @@ export async function initWasm (): Promise<void> {
|
||||
await initBridge(createWasm);
|
||||
}
|
||||
|
||||
initWasm().catch(undefined);
|
||||
initWasm().catch((): void => {
|
||||
// cannot happen, initWasm doesn't throw
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user