nanoexpress / middlewares

Middleware packages for nanoexpress
20 stars 10 forks source link

Body parser not working #41

Open krishnaTORQUE opened 2 years ago

krishnaTORQUE commented 2 years ago

Bug Report

Is you/your team sponsoring this project

Minimal reproducible repo

import bodyParser from '@nanoexpress/middleware-body-parser';
app.use(bodyParser({ json: true, urlEncoded: true }));

Current Behavior

TSError: ⨯ Unable to compile TypeScript
 error TS2769: No overload matches this call.

Expected behavior/code

load body parser without error

Environment

dalisoft commented 2 years ago

Hi @krishnaTORQUE Can you please try nanoexpress/ultimate please? If that works, then let me know