We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
cookie-parser
1 parent a2eff77 commit a450c98Copy full SHA for a450c98
content/techniques/cookies.md
@@ -14,7 +14,7 @@ $ npm i -D @types/cookie-parser
14
Once the installation is complete, apply the `cookie-parser` middleware as global middleware (for example, in your `main.ts` file).
15
16
```typescript
17
-import cookieParser from 'cookie-parser';
+import * as cookieParser from 'cookie-parser';
18
// somewhere in your initialization file
19
app.use(cookieParser());
20
```
0 commit comments