UNPKG

@asimojs/asimo

Version:

Asynchronous dependency manager for Typescript projects

11 lines (8 loc) 309 B
import { interfaceId } from "../asimo"; // typescript interface export interface Calculator { numberOfCalls: number; add(a: number, b: number): number; } // interface id token associated to the typescript interface export const CalculatorIID = interfaceId<Calculator>("asimo.src.tests.Calculator");