@skyra/env-utilities is not assignable to parameter of type 'never'
I am not sure what to do here
https://juan.evaded.tax/i/k6e74.png
21 Replies
I fixed the default value to be an array but it's still broken
okay am I straight up using the library wrong?
https://juan.evaded.tax/i/f6fmc.png
oh I see what I'm supposed to do
https://juan.evaded.tax/i/xh4cx.png
what the hell?
https://juan.evaded.tax/i/2tfji.png
Can we see your interface?
do they have to be in separate files?
hopefully I'll get the answer I need when I wake up lol
If that file has nothing but that code then you have to add at the bottom
export default undefined
because otherwise typescript sees it as a module declaration instead of a module augmentation.
(This applies to all module augmentations, not just this lib)this ^
no it's definitely just augmentation
WHAT THE HELL DISCORD
good lord man
there is good code comments and there is bad
yours is horrid
you really dont need that many comments
anyway im not sure about your problem. I don't see it in other projects. Try making sure all your dependencies are up to date for starters
to be fair I wrote this some time ago
I removed those comments yesterday because I also realized that I don't need those comments lol
I updated my all of my dependencies and I'm still having that type circular reference error
something broke here
my reproducible error
Solution
it's
ArrayString
you need, not EnvArray
OOOHHH
I see now
thank you!