folks this one simple trick will improve
your refactoring whenever you need to
use like an undefined value in
typescript
here i've got a create user function
where i'm creating a bunch of different
users but i've now got a new requirement
here which is i also need to add a role
to some users and some not so here what
i could do is i could say
for some users i'm going to pass them a
role which is going to be admin like
this
except
i reall...
repo | techs | stars | weekly | forks | weekly |
---|---|---|---|---|---|
getcursor/cursor | TypeScriptJavaScriptCSS | 10k | +7.9k | 643 | +530 |
Chanzhaoyu/chatgpt-web | VueTypeScriptLess | 11.9k | +2.3k | 3.6k | +885 |
lencx/ChatGPT | RustTypeScriptRuby | 27.5k | +2.3k | 2.8k | +272 |
dair-ai/Prompt-Engineering-Guide | Jupyter NotebookTypeScriptOther | 19.1k | +2k | 1.5k | +222 |
openai/openai-cookbook | Jupyter NotebookPythonTypeScript | 23.8k | +1.9k | 3.3k | +315 |
kamranahmedse/developer-roadmap | AstroJavaScriptTypeScript | 234.9k | +588 | 33.5k | +50 |
codebdy/rxdrag | TypeScriptOther | 2.6k | +554 | 325 | +40 |
CorentinTh/it-tools | VueTypeScriptJavaScript | 1.2k | +528 | 108 | +21 |
thinkingjimmy/Learning-Prompt | CSSTypeScriptJavaScript | 745 | +230 | 47 | +21 |
AppFlowy-IO/AppFlowy | DartRustTypeScript | 33.1k | +169 | 2k | +15 |