You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
exportconstmyApp=app.addFunctions({ blob, hello });// Register functions via object, may support type infer in the future// type Endpoint = InferEndpoint<typeof myApp>constuserFunction=app.createFunctions({user: func.httpGet().handler(({ res })=>res.text('OK'));});app.mergeFunctions(userFunction);
Considering the new way to register functions
Do with:
Before
After
Note: remove function name from
httpGet
first argExisting way
Single File
Standalone Mode (Like azure Function node.js library)
without using nammathamApp;
The text was updated successfully, but these errors were encountered: