mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-04 12:10:30 +08:00
Add void return types
This commit is contained in:
1 parent
97acde7b99
commit
8e41af2887
1 file changed
+4
-4
Vendored
+4
-4
@@ -10,10 +10,10 @@ declare module Express {
|
||||
(err?: any): void;
|
||||
}
|
||||
export interface Session {
|
||||
login(callback: Function);
|
||||
login(extend: Object, callback: ErrorCallback);
|
||||
login(role: string, callback: ErrorCallback);
|
||||
login(role: string, extend: Object, callback: ErrorCallback);
|
||||
login(callback: Function): void;
|
||||
login(extend: Object, callback: ErrorCallback): void;
|
||||
login(role: string, callback: ErrorCallback): void;
|
||||
login(role: string, extend: Object, callback: ErrorCallback): void;
|
||||
logout(callback: ErrorCallback): void;
|
||||
isLoggedIn(role?: string): boolean;
|
||||
isGuest(): boolean;
|
||||
|
||||
Reference in new issue
Block a user