replace internal module to namespace

This commit is contained in:
vvakame committed 2016-03-17 02:18:10 +09:00
1 parent 2f47c75835
commit 14fe4313f4
1139 files changed
+179639 -179639

No files matched your search

+2 -2
View File
@@ -8,7 +8,7 @@
declare module "node-persist" {
type milliseconds = number;
module NodePersist {
namespace NodePersist {
export interface InitOptions {
dir?: string;
stringify?: (toSerialize: any)=>string;
@@ -19,7 +19,7 @@ declare module "node-persist" {
interval?: milliseconds|boolean;
ttl?: milliseconds|boolean;
}
export function init(options?: InitOptions, callback?: Function): Q.Promise<any>;
export function init(options?: InitOptions, callback?: Function): Q.Promise<any>;
export function initSync(options?: InitOptions): void;
export function getItem(key: string, callback?: (err: any, value: any)=>any): Q.Promise<any>;
export function getItemSync(key: string): any;