From 492d2e17a57c15e8cb38fc191575f02d11552d01 Mon Sep 17 00:00:00 2001 From: Owl <32597776+SuspiciousLookingOwl@users.noreply.github.com> Date: Sat, 13 Mar 2021 00:01:52 +0700 Subject: [PATCH] change readAsync return type to Promise --- typings/configparser.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/typings/configparser.d.ts b/typings/configparser.d.ts index 8bdec46..a8f733c 100644 --- a/typings/configparser.d.ts +++ b/typings/configparser.d.ts @@ -8,7 +8,7 @@ declare module 'configparser' { keys(section: string): string[]; hasKey(section: string, key: string): boolean; read(file: FileInputType): void; - readAsync(file: FileInputType): void; + readAsync(file: FileInputType): Promise; get(section: string, key: string, raw?: boolean): string | undefined; getInt(section: string, key: string, radix?: number): number | undefined; getFloat(section: string, key: string): number|undefined; @@ -21,4 +21,4 @@ declare module 'configparser' { } export default ConfigParser -} \ No newline at end of file +}