mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
12 lines
506 B
TypeScript
12 lines
506 B
TypeScript
// Type definitions for easy-xapi-utils
|
|
// Project: https://github.com/DeadAlready/easy-xapi-utils
|
|
// Definitions by: Karl Düüna <https://github.com/DeadAlready>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
// TypeScript Version: 2.2
|
|
|
|
import express = require('express');
|
|
|
|
export declare function isLoggedIn(role?: string): express.RequestHandler;
|
|
export declare function isLoggedOut(): express.RequestHandler;
|
|
export declare function hasRole(role: string): express.RequestHandler;
|