-
-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(utilities): move findOrDefault to a function #29
Conversation
having it on the Array.prototype causes issues with jquery extend and overall is risky closes #27
I think you missed this filter.collection as well, though it's just a comment. I was wondering what does the |
the |
Oh that is nice then, would you mind putting that example within the comment description of that formatter. I think it would be useful |
I've put all the description within the |
I really need to get some form on intellisense or popup in my vim editor so I can see these jsdocs too. Not sure if what I just committed will look as you want it in your editor. |
You might want to try Vim for VSCode extension, you could gain a lot from it without sacrificing your shortcuts and keys. Obviously the first thing you would gain is intellisense, which is 1 of the top 3 biggest reasons that I like TypeScript. Side note, I would also be happy with a 1 liner example in the intellisense jsdoc, just like we do in error thrown. It just helps to see a quick example sometime. Here's the intellisense for the previous code that was in place. |
I used VS Code and VIM for VSCode a little over a year ago. I liked it a lot, but when I started getting more comfortable with VIM I found some quirks so I just rid of VSCode. I will use VsVim in Visual Studio every now and then since I need it for work, but I find myself always going back to vim. VIM probably has something out there for typescript that I need to go find now that I am developing more in that language. Most of my plugins are javascript/c#. |
Having it on the Array.prototype causes issues with jquery extend and overall is risky. Also, and I am not sure how I missed this, but I was still using the
filter
property in thecollectionFormatter
. So i fixed that to make sure this newfindOrDefault
works.closes #27