@types/config
Advanced tools
Comparing version 3.3.0 to 3.3.1
@@ -1,4 +0,4 @@ | ||
import { IConfig } from './'; | ||
import { IConfig } from "./"; | ||
type AsyncFunction<T,R> = (this: IConfig, config: string, origValue: T) => Promise<R>; | ||
type AsyncFunction<T, R> = (this: IConfig, config: string, origValue: T) => Promise<R>; | ||
@@ -8,2 +8,1 @@ export function asyncConfig<R>(promise: Promise<any>): Promise<R>; | ||
export function resolveAsyncConfigs(config: IConfig): Promise<IConfig>; | ||
@@ -1,2 +0,2 @@ | ||
type DeferFunction<T,R> = (this: any, origValue: T) => R; | ||
type DeferFunction<T, R> = (this: any, origValue: T) => R; | ||
@@ -8,2 +8,2 @@ /* | ||
*/ | ||
export function deferConfig<T, R>(func: DeferFunction<T,R>): R; | ||
export function deferConfig<T, R>(func: DeferFunction<T, R>): R; |
@@ -10,8 +10,5 @@ // Type definitions for node-config 3.3 | ||
declare var c: c.IConfig; | ||
declare namespace c { | ||
// see https://github.com/lorenwest/node-config/wiki/Using-Config-Utilities | ||
@@ -55,3 +52,3 @@ interface IUtil { | ||
*/ | ||
setModuleDefaults(moduleName:string, defaults:any): any; | ||
setModuleDefaults(moduleName: string, defaults: any): any; | ||
} | ||
@@ -58,0 +55,0 @@ |
{ | ||
"name": "@types/config", | ||
"version": "3.3.0", | ||
"version": "3.3.1", | ||
"description": "TypeScript definitions for node-config", | ||
@@ -43,4 +43,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/config", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "9ad4681ae2e56a952b32e8c0c79a2881264c8aa766469a9be7c34d033268b5bd", | ||
"typeScriptVersion": "4.0" | ||
"typesPublisherContentHash": "9615520df5108d403b7cca8a45e59dae6187d7113c359182b8c5717a11f204c5", | ||
"typeScriptVersion": "4.3" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Wed, 27 Jul 2022 07:32:19 GMT | ||
* Last updated: Mon, 04 Sep 2023 15:41:06 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: none |
7255