Module

x/oak/test_deps.ts>unreachable

A middleware framework for handling HTTP with Deno 🐿️ 🦕
Extremely Popular
Go to Latest
function unreachable
import { unreachable } from "https://dotland.deno.dev/x/oak@v13.0.1/test_deps.ts";

Use this to assert unreachable code.

Examples

Example 1

import { unreachable } from "https://deno.land/std@$STD_VERSION/assert/unreachable.ts";

unreachable(); // Throws

Returns

never