statically typed
effect-workshop's Introduction
effect-workshop's People
Forkers
khraksmamtsov ricardocasares ccntrq coleea zodimo guillaume-rebaze tatchi davidnussio cameronraysmith litcodeur kulshekhar kewinzaq1 pramodsinghdeepecom fprijate ravvi-kumar porkytheblack linecode sagnikc395 xwlee tamicktom hpybara ericbfriday nemyung jluznyeffect-workshop's Issues
Idea: improve hardcoded types by using Two Slash queries
Hi @ethanniser!
I'm excited to go through the workshop you put, thanks for the effort and for sharing your knowledge with us.
First and foremost, I saw from your YT video you're still in high-school. What!? This is really impressive. The quality level of your content is incredibly high, and I couldn't believe it when I heard you were still in school. Keep up the good work man, you're going to achieve greats things!
Now to the actual point. This isn't really an issue, just an idea to make your life easier for future videos/workshops. I'm not sure if you heard about "two slash comments", but the Twoslash Query Comments (Orta.vscode-twoslash-queries
) extension automatically adds the resolved types to your variables. Here's a small demo:
CleanShot.2024-04-27.at.11.11.24.mp4
As long as the caret ^
aligns, the extension should work.
There's only this issue preventing the extension from working great in your setup. It trims the type past 120 characters, which is too short for Effect types. If you're feeling adventurous, I believe the author is opened for a contribution to either make this fill the available editor width, or allow changing to a different value.
Hope this helps!
Thanks again for the great work
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.