Installed types and add default export

pull/73/head
MillenniumEarl 2021-02-14 12:26:46 +01:00
parent 2610b08290
commit 59d40b8ba3
1 changed files with 2 additions and 2 deletions

View File

@ -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.