Update typescript to 4.8.4
This commit is contained in:
parent
4c622b6f81
commit
e6ebfe4fca
15 changed files with 133 additions and 167 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue