Skip to content

Commit

Permalink
add index.d.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
lushijie committed Nov 20, 2019
1 parent a792840 commit 9ef62aa
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions index.d.ts
@@ -0,0 +1,8 @@
declare class ThinkCacheRedis {
constructor(config?: object)
get(key: string): any
set(key: string, content: any, timeout?: number): any
delete(key: string): any
}

export = ThinkCacheRedis;

0 comments on commit 9ef62aa

Please sign in to comment.