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