feat: expose library version

This commit is contained in:
DevAndromeda 2021-08-08 11:52:50 +05:45
parent 481f4f715a
commit 9a8db67b44
No known key found for this signature in database
GPG key ID: FA40E3EC5CB6DCD6

View file

@ -12,4 +12,4 @@ export { Util } from "./utils/Util";
export * from "./types/types";
// eslint-disable-next-line @typescript-eslint/no-var-requires
export const version: string = require(`${__dirname}/../package.json`).version;
export const version: string = require(`${__dirname}/../package.json`).version;