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.
2 parents 420660c + e28bf4c commit 4f4fc64Copy full SHA for 4f4fc64
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 * as cookieParser from 'cookie-parser';
+import cookieParser from 'cookie-parser';
18
// somewhere in your initialization file
19
app.use(cookieParser());
20
```
0 commit comments