(editorId: number, lang: string)
| 76 | |
| 77 | /** Get an empty compiler component. */ |
| 78 | export function getCompiler(editorId: number, lang: string): ComponentConfig<typeof COMPILER_COMPONENT_NAME> { |
| 79 | return { |
| 80 | type: 'component', |
| 81 | componentName: COMPILER_COMPONENT_NAME, |
| 82 | componentState: { |
| 83 | source: editorId, |
| 84 | lang, |
| 85 | }, |
| 86 | }; |
| 87 | } |
| 88 | |
| 89 | /** |
| 90 | * Get a compiler component with the given configuration. |
nothing calls this directly
no outgoing calls
no test coverage detected