biz-slide-core 1.0.2 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "biz-slide-core",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1,6 +1,6 @@
1
1
  import { Response } from "express";
2
2
  import IRequest from "./IRequest";
3
3
 
4
- export default interface IController {
4
+ export interface IController {
5
5
  (req: IRequest, res: Response): void;
6
6
  }
package/types/IRequest.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { Request } from "express";
2
2
 
3
- export default interface IRequest extends Request {
3
+ export interface IRequest extends Request {
4
4
  user?: any,
5
5
  token?: any,
6
6
  role?: any,