♻️ Export shutdown function
This commit is contained in:
parent
e7cc7b3851
commit
cd327de1d6
2 changed files with 6 additions and 0 deletions
|
@ -3,3 +3,4 @@ export { default as getManifest } from './exports/getManifest';
|
||||||
export { default as productList } from './exports/productList';
|
export { default as productList } from './exports/productList';
|
||||||
export { default as IDatabaseSettings } from './interfaces/IDatabaseSettings';
|
export { default as IDatabaseSettings } from './interfaces/IDatabaseSettings';
|
||||||
export { default as init } from './init';
|
export { default as init } from './init';
|
||||||
|
export { default as shutdown } from './shutdown';
|
||||||
|
|
5
src/shutdown.ts
Normal file
5
src/shutdown.ts
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
import { exit } from './database/database';
|
||||||
|
|
||||||
|
export default function shutdown() {
|
||||||
|
exit();
|
||||||
|
}
|
Loading…
Reference in a new issue