aboutsummaryrefslogtreecommitdiff
path: root/notif/notif.d.ts
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2023-10-24 03:41:47 +0700
committerShulhan <ms@kilabit.info>2023-10-24 22:28:25 +0700
commit85c3fc0431e7e75a41894d4669f6a46bbda5440b (patch)
tree15b73a82e9eaaa9ac9f2558578c8d7610ad392cd /notif/notif.d.ts
parent891a860299ac76739d59f46280cbed63ff07743e (diff)
downloadpakakeh.ts-85c3fc0431e7e75a41894d4669f6a46bbda5440b.tar.xz
all: fix all linter warnings from tsc and eslint
In this changes we introduce eslint as our linter for TypeScript and update our tsconfig to be more strict. The ".eslintrc.yaml" and "tsconfig.json" is taken from golang/website repository [1]. [1]: https://cs.opensource.google/go/x/website
Diffstat (limited to 'notif/notif.d.ts')
-rw-r--r--notif/notif.d.ts12
1 files changed, 6 insertions, 6 deletions
diff --git a/notif/notif.d.ts b/notif/notif.d.ts
index ae2c331..0f90919 100644
--- a/notif/notif.d.ts
+++ b/notif/notif.d.ts
@@ -2,10 +2,10 @@ export declare const WUI_NOTIF_ID = "wui_notif";
export declare const WUI_NOTIF_CLASS_INFO = "wui_notif_info";
export declare const WUI_NOTIF_CLASS_ERROR = "wui_notif_error";
export declare class WuiNotif {
- private el;
- private timeout;
- constructor();
- Info(msg: string): void;
- Error(msg: string): void;
- private initStyle;
+ private el;
+ private timeout;
+ constructor();
+ Info(msg: string): void;
+ Error(msg: string): void;
+ private initStyle;
}