Skip to content

Custom Types

Alexandre Moreau-Lemay edited this page Aug 22, 2022 · 1 revision

Helper types/aliases

AnyStore

import { type AnyStore } from "https://deno.land/x/fresh_store@v1.0.1/mod.ts";

Convenience type for a Store of any type.

Implementation

type AnyStore = Store<any>;

Pointer

import { type Pointer } from "https://deno.land/x/fresh_store@v1.0.1/mod.ts";

Convenience type alias for a pointer.

Implementation

type Pointer = string;

Clone this wiki locally