Skip to main content
Module

x/evt/test/test100.ts

💧EventEmitter's typesafe replacement
Go to Latest
File

import { StatefulEvt } from "../lib/index.ts";import { assert } from "https://raw.githubusercontent.com/garronej/tsafe/v0.10.1/deno_dist/assert.ts";
const evtFoo = new StatefulEvt("init");
assert(evtFoo.toStateless().postCount === 0);
console.log("PASS");