quasqui
Version:
The meta-framework suite designed from scratch for frontend-focused modern web development.
19 lines (15 loc) • 356 B
text/typescript
import { createPlugin } from '../core';
let number = 0;
export const getNumber = () => number;
const bar = createPlugin(() => {
number = 1;
return {
// eslint-disable-next-line @typescript-eslint/no-empty-function
preDev: () => {},
fooWaterfall: async input => {
number = 2;
return input;
},
};
});
export default bar;