mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-24 02:18:15 +01:00
Update typescript to 4.8.4
This commit is contained in:
@@ -174,7 +174,13 @@ export class MainSQL {
|
||||
throw new Error('Not initialized');
|
||||
}
|
||||
|
||||
const { result, duration } = await this.send({
|
||||
type SqlCallResult = Readonly<{
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
result: any;
|
||||
duration: number;
|
||||
}>;
|
||||
|
||||
const { result, duration } = await this.send<SqlCallResult>({
|
||||
type: 'sqlCall',
|
||||
method,
|
||||
args,
|
||||
|
||||
Reference in New Issue
Block a user