Improve error handling during group sends
This commit is contained in:
parent
f0a3735ca2
commit
991580a1ed
58 changed files with 299 additions and 324 deletions
25
ts/window.d.ts
vendored
25
ts/window.d.ts
vendored
|
@ -3,13 +3,10 @@
|
|||
|
||||
// Captures the globals put in place by preload.js, background.js and others
|
||||
|
||||
/* eslint-disable max-classes-per-file */
|
||||
|
||||
import type { Store } from 'redux';
|
||||
import type * as Backbone from 'backbone';
|
||||
import type * as Underscore from 'underscore';
|
||||
import type PQueue from 'p-queue/dist';
|
||||
import type { Ref } from 'react';
|
||||
import type { assert } from 'chai';
|
||||
import type * as Mustache from 'mustache';
|
||||
|
||||
|
@ -358,15 +355,6 @@ declare global {
|
|||
};
|
||||
}
|
||||
|
||||
interface Error {
|
||||
originalError?: Event;
|
||||
reason?: unknown;
|
||||
stackForLog?: string;
|
||||
|
||||
// Used in sticker creator to attach messages to errors
|
||||
errorMessageI18nKey?: string;
|
||||
}
|
||||
|
||||
interface Element {
|
||||
// WebKit-specific
|
||||
scrollIntoViewIfNeeded: (bringToCenter?: boolean) => void;
|
||||
|
@ -387,19 +375,6 @@ declare global {
|
|||
}
|
||||
}
|
||||
|
||||
export class GumVideoCapturer {
|
||||
constructor(
|
||||
maxWidth: number,
|
||||
maxHeight: number,
|
||||
maxFramerate: number,
|
||||
localPreview: Ref<HTMLVideoElement>
|
||||
);
|
||||
}
|
||||
|
||||
export class CanvasVideoRenderer {
|
||||
constructor(canvas: Ref<HTMLCanvasElement>);
|
||||
}
|
||||
|
||||
export type WhisperType = {
|
||||
Conversation: typeof ConversationModel;
|
||||
ConversationCollection: typeof ConversationModelCollectionType;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue