Revert "merge acl-mongodbBackend.d.ts and acl-redisBackend.d.ts into acl.d.ts"

This reverts commit 5fad551b59.
This commit is contained in:
vvakame
2015-04-29 12:05:02 +09:00
parent 5fad551b59
commit 5cd28fd0e3
5 changed files with 46 additions and 32 deletions
+21
View File
@@ -0,0 +1,21 @@
// Type definitions for node_acl 0.4.7
// Project: https://github.com/optimalbits/node_acl
// Definitions by: Qubo <https://github.com/tkQubo>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
/// <reference path="acl.d.ts" />
/// <reference path='../redis/redis.d.ts'/>
declare module "acl" {
import redis = require('redis');
interface AclStatic {
redisBackend: RedisBackendStatic;
}
interface RedisBackend extends Backend<redis.RedisClient> { }
interface RedisBackendStatic {
new(redis: redis.RedisClient, prefix: string): RedisBackend;
new(redis: redis.RedisClient): RedisBackend;
}
}