♻️ Export shutdown function

This commit is contained in:
C-3PO 2018-11-15 21:59:31 +01:00
parent e7cc7b3851
commit cd327de1d6
Signed by: c3po
GPG key ID: 62993C4BB4D86F24
2 changed files with 6 additions and 0 deletions

View file

@ -3,3 +3,4 @@ export { default as getManifest } from './exports/getManifest';
export { default as productList } from './exports/productList';
export { default as IDatabaseSettings } from './interfaces/IDatabaseSettings';
export { default as init } from './init';
export { default as shutdown } from './shutdown';

5
src/shutdown.ts Normal file
View file

@ -0,0 +1,5 @@
import { exit } from './database/database';
export default function shutdown() {
exit();
}