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 +}