
CommunityNews
Assertion Functions in TypeScript
Assertion Functions in TypeScript.
TypeScript 3.7 implemented support for assertion functions in the type system. An assertion function is a function that throws an error if something unexpected happened. Using assertion signatures, we can tell TypeScript that a function should be treated as an assertion function.
Read in full here:
This thread was posted by one of our members via one of our news source trackers.
Popular Frontend topics

Announcing TypeScript 4.1 | TypeScript.
Today we’re proud to release TypeScript 4.1! If you’re unfamiliar with TypeScript, it’s a langua...
New

**Run any code on any client.**With WebAssembly and Wasmer.
It’s been almost 6-months since we released Wasmer 1.0, and the community ...
New

TinyBase.
A tiny, reactive JavaScript library for structured state and tabular data.
New

Pay attention to WebAssembly.
WebAssembly is at an inflection point. Over the next few years, I expect to see increased adoption of WebA...
New

A Proposal For Type Syntax in JavaScript.
Today we’re excited to announce our support and collaboration on a new Stage 0 proposal to bri...
New

Kotlin/JS provides the ability to transpile your Kotlin code, the Kotlin standard library, and any compatible dependencies to JavaScript....
New

Starting a blank Jekyll site with Tailwind CSS in 2022.
Most websites I build start off as a blank Jekyll site with Tailwind CSS on top.
New

The State of WebAssembly 2022.
WebAssembly has gone through quite a transformation this last year, while the wasm language landscape is ...
New

Enarx 0.6.0: Fushimi Castle.
This release is a developer-only, preview release. It is not production ready. We hope that you will experi...
New

The magical world of Particles with React Three Fiber and Shaders - Maxime Heckel’s Blog.
An interactive introduction to Particles with ...
New
Other popular topics

Any thoughts on Svelte?
Svelte is a radical new approach to building user interfaces. Whereas traditional frameworks like React and Vue...
New

No chair. I have a standing desk.
This post was split into a dedicated thread from our thread about chairs :slight_smile:
New

There’s a whole world of custom keycaps out there that I didn’t know existed!
Check out all of our Keycaps threads here:
https://forum....
New
New

Continuing the discussion from Thinking about learning Crystal, let’s discuss - I was wondering which languages don’t GC - maybe we can c...
New

Biggest jackpot ever apparently! :upside_down_face:
I don’t (usually) gamble/play the lottery, but working on a program to predict the...
New

We’ve talked about his book briefly here but it is quickly becoming obsolete - so he’s decided to create a series of 7 podcasts, the firs...
New
New

Author Spotlight:
Sophie DeBenedetto
@SophieDeBenedetto
The days of the traditional request-response web application are long gone, b...
New

Will Swifties’ war on AI fakes spark a deepfake porn reckoning?
New
Categories:
Sub Categories:
Popular Portals
- /elixir
- /rust
- /wasm
- /ruby
- /erlang
- /phoenix
- /keyboards
- /rails
- /js
- /python
- /security
- /go
- /swift
- /vim
- /clojure
- /java
- /haskell
- /emacs
- /svelte
- /onivim
- /typescript
- /crystal
- /c-plus-plus
- /tailwind
- /kotlin
- /gleam
- /react
- /flutter
- /elm
- /ocaml
- /ash
- /vscode
- /opensuse
- /centos
- /php
- /deepseek
- /zig
- /html
- /scala
- /debian
- /nixos
- /lisp
- /agda
- /react-native
- /sublime-text
- /textmate
- /kubuntu
- /arch-linux
- /ubuntu
- /revery
- /manjaro
- /django
- /spring
- /diversity
- /nodejs
- /lua
- /slackware
- /julia
- /c
- /neovim