smartinject/ts/registerextension.ts
2019-02-24 23:14:47 +01:00

6 lines
178 B
TypeScript

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