sharkey/src/version.ts
2017-03-18 02:12:27 +09:00

10 lines
206 B
TypeScript

const getVersion = new Promise<string>(async resolve => {
const = require('../package.json');
const version = .version;
resolve(version);
});
export default getVersion;