mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-11-29 01:31:45 +00:00
Make get/set generic
This commit is contained in:
Vendored
+2
-2
@@ -167,8 +167,8 @@ declare namespace NPM {
|
||||
Conf: ConfigStatic;
|
||||
defs: ConfigDefs;
|
||||
|
||||
get(setting: string): string;
|
||||
set(setting: string, value: string): void;
|
||||
get<T>(setting: string): T;
|
||||
set<T>(setting: string, value: T): void;
|
||||
|
||||
loadPrefix(cb: ErrorCallback): void;
|
||||
loadCAFile(caFilePath: string, cb: ErrorCallback): void;
|
||||
|
||||
Reference in New Issue
Block a user