UNPKG

@rustable/trait

Version:

A TypeScript library that implements Rust-like traits with compile-time type checking and runtime verification.

5 lines (3 loc) 209 B
export { MethodNotImplementedError, MultipleImplementationError, NotImplementedError, TraitError, TraitNotImplementedError } from './error.mjs'; export { Trait, macroTrait } from './trait.mjs'; "use strict";