Skip to content

Commit

Permalink
add default keyword to d.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
vvatanabe committed Jul 8, 2016
1 parent 021028d commit 1bea078
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions dist/botbuilder-redis.d.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import redis = require("redis");
import botbuilder = require("botbuilder");
declare class RedisStorage implements botbuilder.IStorage {
private client;
declare module 'botbuilder-redis' {
import * as redis from 'redis';
import * as botbuilder from 'botbuilder';
export default class RedisStorage implements botbuilder.IStorage {
private client: redis.RedisClient;
constructor(client: redis.RedisClient, prefix?: string);
get(id: string, callback: (err: Error, data: any) => void): void;
save(id: string, data: any, callback?: (err: Error) => void): void;
delete(id: string, callback?: (err: Error) => void): void;
}
}
export = RedisStorage;

0 comments on commit 1bea078

Please sign in to comment.