UNPKG

@momothepug/tsmodule-alias

Version:

Nodejs module loader from Typescript path alias

13 lines (10 loc) 354 B
import { HashMap } from "./../../type-definitions"; import {IHashMapGenerator} from "./../../Generator/Generator"; class ModuleAliasGenerator implements IHashMapGenerator{ build(dataHelper: string): HashMap<string, string>{ return new HashMap<string, string>({ "foo": "barez" }); } } export = ModuleAliasGenerator;