mirror of
https://github.com/zulip/zulip-desktop.git
synced 2025-11-02 13:03:22 +00:00
typescript: Remove skipLibCheck.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
@@ -255,7 +255,12 @@
|
||||
"**/*.ts"
|
||||
],
|
||||
"rules": {
|
||||
"@typescript-eslint/consistent-type-imports": "error",
|
||||
"@typescript-eslint/consistent-type-imports": [
|
||||
"error",
|
||||
{
|
||||
"disallowTypeAnnotations": false
|
||||
}
|
||||
],
|
||||
"@typescript-eslint/no-unused-vars": [
|
||||
"error",
|
||||
{
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
"module": "commonjs",
|
||||
"esModuleInterop": true,
|
||||
"resolveJsonModule": true,
|
||||
"skipLibCheck": true,
|
||||
"strict": true
|
||||
}
|
||||
}
|
||||
|
||||
6
typings.d.ts
vendored
6
typings.d.ts
vendored
@@ -1,4 +1,4 @@
|
||||
declare module "electron" {
|
||||
declare namespace Electron {
|
||||
// https://github.com/electron/typescript-definitions/issues/170
|
||||
interface IncomingMessage extends NodeJS.ReadableStream {}
|
||||
}
|
||||
@@ -29,12 +29,12 @@ interface ClipboardDecrypter {
|
||||
|
||||
interface ElectronBridge {
|
||||
send_event: (eventName: string | symbol, ...args: unknown[]) => boolean;
|
||||
on_event: (eventName: string, listener: ListenerType) => void;
|
||||
on_event: (eventName: string, listener: (...args: any[]) => void) => void;
|
||||
new_notification: (
|
||||
title: string,
|
||||
options: NotificationOptions,
|
||||
dispatch: (type: string, eventInit: EventInit) => boolean,
|
||||
) => NotificationData;
|
||||
) => import("./app/renderer/js/notification").NotificationData;
|
||||
get_idle_on_system: () => boolean;
|
||||
get_last_active_on_system: () => number;
|
||||
get_send_notification_reply_message_supported: () => boolean;
|
||||
|
||||
Reference in New Issue
Block a user