Skip to content
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

docs: add typescript, nextjs, remove old style tags #411

Merged
merged 10 commits into from
Sep 10, 2022
Prev Previous commit
Next Next commit
docs: move quote above what is typescript
  • Loading branch information
kroucher committed Sep 10, 2022
commit e2d9cab4cffea7df050875a20b548c3213920c8d
6 changes: 3 additions & 3 deletions www/src/pages/en/usage/typescript.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ description: Usage of TypeScript
layout: ../../../layouts/blog.astro
---

# What is TypeScript?

<blockquote className="w-full max-w-sm relative p-6 text-xl italic border-l-4 bg-neutral-100 text-t3-purple-50 border-neutral-500 quote">
<div className="relative w-fit flex items-center justify-center p-1">
<span className="mr-2 hidden sm:block absolute -top-1 left-0 leading-none" aria-hidden="true">
Expand Down Expand Up @@ -35,7 +33,9 @@ layout: ../../../layouts/blog.astro
</div>
</cite>
</blockquote>


# What is TypeScript?

Whether you're a new or seasoned developer, we think that TypeScript is a must have. It can look intimidating at first, but much like a lot of tools, is something that many never look back from after starting to use it.

It provides live feedback as you write your code by defining expected data types, and either provides helpful autocomplete in your code editor, or yells at you with red squiggly lines if you're trying to access a property that doesn't exist, or you're trying to pass a value of the wrong type.
Expand Down