Refactor to make language selection dynamic

This commit is contained in:
Nilay Majorwar
2021-12-18 17:15:22 +05:30
parent 2322ebe55d
commit bb9e85f422
9 changed files with 172 additions and 111 deletions

View File

@ -1,3 +1,4 @@
import { setupWorker } from "../setup-worker";
import { LanguageEngine, StepExecutionResult } from "../types";
import { RS } from "./constants";
@ -120,4 +121,4 @@ class SampleLanguageEngine implements LanguageEngine<RS> {
};
}
export default SampleLanguageEngine;
setupWorker(new SampleLanguageEngine());