smartinject/ts/registerextension.ts

6 lines
178 B
TypeScript
Raw Normal View History

2019-02-24 22:14:47 +00:00
import { extensionMap } from './injection';
2019-02-24 22:11:26 +00:00
export const registerExtension = (extensionName: string, compilerFunction) => {
extensionMap[extensionName] = compilerFunction;
2019-02-24 22:14:47 +00:00
};