UNPKG

undecorated-di

Version:

Type-safe, straightforward dependency injection for TypeScript without annotations or reflect-metadata.

7 lines (6 loc) 267 B
import fs from "fs"; if (!fs.existsSync("./src/__test__")) { throw new Error( "Test folder not included with published package. To run tests, fork or clone the repo from https://github.com/dvorakjt/undecorated-di and run npm install. Then run npm test." ); }