Installed types and add default export
parent
2610b08290
commit
59d40b8ba3
|
@ -5,14 +5,14 @@ import * as fs from "fs";
|
||||||
import { promisify } from "util";
|
import { promisify } from "util";
|
||||||
|
|
||||||
// Public modules from npm
|
// Public modules from npm
|
||||||
import * as md5 from "md5";
|
import md5 from "md5";
|
||||||
|
|
||||||
// Promisifed functions
|
// Promisifed functions
|
||||||
const areadfile = promisify(fs.readFile);
|
const areadfile = promisify(fs.readFile);
|
||||||
const awritefile = promisify(fs.writeFile);
|
const awritefile = promisify(fs.writeFile);
|
||||||
const aunlinkfile = promisify(fs.unlink);
|
const aunlinkfile = promisify(fs.unlink);
|
||||||
|
|
||||||
export class Session {
|
export default class Session {
|
||||||
//#region Properties
|
//#region Properties
|
||||||
/**
|
/**
|
||||||
* Max number of days the session is valid.
|
* Max number of days the session is valid.
|
||||||
|
|
Loading…
Reference in New Issue