actions-on-google / assistant-conversation-nodejs

A developer friendly way to fulfill Actions SDK handlers for the Google Assistant
https://actions-on-google.github.io/assistant-conversation-nodejs
Apache License 2.0
104 stars 38 forks source link

Express.js + eslint error - Promise returned in function argument where a void return was expected #28

Open kkocel opened 3 years ago

kkocel commented 3 years ago

When having following code:

const expressApp: Express = express().use(bodyParser.json());
expressApp.post("/fulfillment", app);

and running it in eslint I get:

error    Promise returned in function argument where a void return was expected  @typescript-eslint/no-misused-promises