misskey/src/version.ts

10 lines
206 B
TypeScript

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