nope/test/modules/exportFunctiont.ts
Martin Karkowski c96a2785c9 Fixing analyzer
2020-11-10 08:56:22 +01:00

7 lines
246 B
TypeScript

import { exportFunctionToDispatcher } from "../../lib/decorators/dispatcherDecorators";
async function func(a: number, b: number){
return a+b;
}
export const exportedFunction = exportFunctionToDispatcher(func, {
id: 'exportedFunction'
});