Fixed import.

This commit is contained in:
SamTV12345 2024-01-30 22:40:16 +01:00
parent 6fdf9ed812
commit b617ac4c58
11 changed files with 37 additions and 27 deletions

View file

@ -3,8 +3,8 @@
// @ts-ignore
import measured from 'measured-core';
module.exports = measured.createCollection();
export default measured.createCollection();
module.exports.shutdown = async (hookName: string, context:any) => {
export const shutdown = async (hookName: string, context:any) => {
module.exports.end();
};