smartinject/ts/registerextension.ts
2019-02-24 23:11:26 +01:00

5 lines
174 B
TypeScript

import {extensionMap} from './injection';
export const registerExtension = (extensionName: string, compilerFunction) => {
extensionMap[extensionName] = compilerFunction;
}