With Type With Me, you will learn how to use tools, learn how to program and rule the world. Upgrade your skills by watching these tips and tricks on this channel!
well, I did not work for me. I have tested it on large project that is based on Spartacus framework, but the command "bun run --run ng serve" never ends. It just stuck on building phase.
Did you figure out how to do the same with Vitest? I'm facing with the same issue, with a different test runner. Vitest does not have `moduleNameMapper` :(
@@TypeWithMeDev I managed to solve it. Here it is, just in case someone else is struggling with it too: In vite.config.ts, include this in the `test` block: css: { modules: { classNameStrategy: 'non-scoped' } } Cheers!
The author selected perhaps the worst usecase for pipe - with methods. Methods already chain themselves, this operator should ideally be used with pure functions. As it's stable, existing libraries like Lodash, Ramda, TS-Belt will pick it up (dropping their builtin recursion implementations which never worked seamlessly with TS t.b.h). Or new FP-kit libraries will appear. So, at the end, it will look good.
Just FYI it runs node in the background because of the shebang in the ng code to circumvent that you need to run it bun run --bun start At this current stage, it doesn't work sadly
Thanks so much for the video! FYI, the file in continue seems to no longer be config.py and it is now config.json, and the following should be added instead of all the other models in order to use ollama: { "models": [ { "title": "Code Llama", "provider": "ollama", "model": "codellama-7b" } ] }
Thank you for making this video, it's very useful. On the topic of the Continue plugin itself though, I'm a little disappointed that it appears it only provides a means to ask questions, rather than autosuggest code on the fly.
1:09 ng new ... use the npm version, not bun. For 2:50 you can use ctrl + a. Thanks for the idea to run the project in bun a context. I tested npm run start vs bun run start (not the first start). For my setup it is only 0,5 sec faster, but it is faster. Waiting for a full bun setup / preset to see the full power of it.
That's a really great tutorial. Also, that underscore prefix is a mac specific bug and has been fixed in latest commit. Thanks for checking out my project ❤.
yes you can import a json file, I prepared a video that will be released this sunday how you can import json files in your typescript and javascript code.
I can write console.log(whatever); at the same paste; the plugin needs a little touch to make it even faster to type or else it's not that big of a deal. Good video though.
Hi! what version of node do you have? I have version 14.17.6. I have a problem. this command: npm install -g @tsed/cli works. but the tsed init . command gives me an error: internal/modules/cjs/loader.js:892 throw err; Error: Cannot find module 'node:fs'