
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

This is going to come across as a rant, so I’ll do my best to refrain from blaming any one project or source and just make a generalized ...
New

Fixing a performance problem in Elm using Html.Lazy.
How you can increase the performance of your Elm application using Html.Lazy, and w...
New

State of the Web: Deno.
What is Deno, why does it matter, and how is it currently used for server-side JavaScript?
New

Assertion Functions in TypeScript.
TypeScript 3.7 implemented support for assertion functions in the type system. An assertion function ...
New

Track down the JavaScript code responsible for polluting the global scope.
Here’s how you can debug what JavaScript code is adding globa...
New

pzuraq | Four Eras of JavaScript Frameworks.
A blog about (mostly) computery things
New

Building a JavaScript Bundler.
Learn the basics of building a JavaScript bundler.
New

Monorepos in JavaScript & TypeScript.
A tutorial how to use a monorepo architecture in frontend JavaScript and TypeScript with tools...
New

Arquero.
Query processing and transformation of array-backed data tables.
New

Understanding HTML with Large Language Models.
Large language models (LLMs) have shown exceptional performance on a variety
of natural ...
New
Other popular topics

A thread that every forum needs!
Simply post a link to a track on YouTube (or SoundCloud or Vimeo amongst others!) on a separate line an...
New

If it’s a mechanical keyboard, which switches do you have?
Would you recommend it? Why?
What will your next keyboard be?
Pics always w...
New

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

Just done a fresh install of macOS Big Sur and on installing Erlang I am getting:
asdf install erlang 23.1.2
Configure failed.
checking ...
New

I have seen the keycaps I want - they are due for a group-buy this week but won’t be delivered until October next year!!! :rofl:
The Ser...
New

Do the test and post your score :nerd_face:
:keyboard:
If possible, please add info such as the keyboard you’re using, the layout (Qw...
New

Was just curious to see if any were around, found this one:
I got 51/100:
Not sure if it was meant to buy I am sure at times the b...
New

Author Spotlight
Jamis Buck
@jamis
This month, we have the pleasure of spotlighting author Jamis Buck, who has written Mazes for Prog...
New

Author Spotlight
Mike Riley
@mriley
This month, we turn the spotlight on Mike Riley, author of Portable Python Projects. Mike’s book ...
New

This is cool!
DEEPSEEK-V3 ON M4 MAC: BLAZING FAST INFERENCE ON APPLE SILICON
We just witnessed something incredible: the largest open-s...
New
Categories:
Sub Categories:
Popular Portals
- /elixir
- /rust
- /ruby
- /wasm
- /erlang
- /phoenix
- /keyboards
- /rails
- /js
- /python
- /security
- /go
- /swift
- /vim
- /clojure
- /emacs
- /haskell
- /java
- /onivim
- /svelte
- /typescript
- /crystal
- /c-plus-plus
- /kotlin
- /tailwind
- /gleam
- /ocaml
- /react
- /flutter
- /elm
- /vscode
- /ash
- /opensuse
- /centos
- /php
- /deepseek
- /html
- /scala
- /zig
- /textmate
- /sublime-text
- /nixos
- /debian
- /lisp
- /agda
- /react-native
- /kubuntu
- /arch-linux
- /ubuntu
- /revery
- /manjaro
- /django
- /spring
- /nodejs
- /diversity
- /lua
- /slackware
- /julia
- /c
- /neovim