Comments (5)
I don't think it will because this packages are not even installed when you install nookies, so it does not matter what you include, you would still need to install them manually.
In my understanding this is not Typescript related, more like NPM related thing
You were right. I was wrong.
So, I think the solution is to move the some definition package in devDependencies. If so, I'm thinking of issuing a PR.
from nookies.
I also encountered the same symptom. In my case, the type inference in the setCookie option did not work, so I solved the problem by adding manually to the project I was using.
yarn add -D @types/cookie @types/express
However, I think it can be fixed by adding include node_modules to tsconfig at nookies.
"include": ["src", "node_modules"]
from nookies.
How would that help?
I don't think it will because this packages are not even installed when you install nookies
, so it does not matter what you include, you would still need to install them manually.
In my understanding this is not Typescript related, more like NPM related thing
from nookies.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
from nookies.
I think it's still actual
from nookies.
Related Issues (20)
- Update token when user name updated HOT 2
- broken sourcemaps HOT 1
- Detect cookie changes HOT 3
- nookies.get() isn't working with Firebase Functions NextJS SSR HOT 1
- Dependency Dashboard
- Any working example of this package as cookies consent banner? HOT 2
- setCookie not working in _middleware HOT 1
- cookie not work in next ^12 HOT 1
- Can not parse cookie on custom domain of cloud run HOT 1
- Destroy cookie not working in iframes
- How to use "parseCookies" function inside _.middleware.ts page in NextJS? HOT 4
- I cannot access cookies I create when Logged in inside GetServerSideProps
- Cookies = {} server side HOT 2
- SameSite Cookie HOT 3
- Is nookies still being maintained? HOT 4
- How to access updated cookies in the Middleware of NextJs HOT 2
- Next router.Push("/dashboard") is not working with nested path instead of root "/"
- Event Listener HOT 1
- Handling cookie in sub-domains
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nookies.