(
editorId: number,
filters: ParseFiltersAndOutputOptions | undefined,
options: unknown,
compilerId: string,
langId?: string,
libs?: unknown,
)
| 95 | * TODO: Find the right type for options |
| 96 | */ |
| 97 | export function getCompilerWith( |
| 98 | editorId: number, |
| 99 | filters: ParseFiltersAndOutputOptions | undefined, |
| 100 | options: unknown, |
| 101 | compilerId: string, |
| 102 | langId?: string, |
| 103 | libs?: unknown, |
| 104 | ): ComponentConfig<typeof COMPILER_COMPONENT_NAME> { |
| 105 | return { |
| 106 | type: 'component', |
| 107 | componentName: COMPILER_COMPONENT_NAME, |
| 108 | componentState: { |
| 109 | source: editorId, |
| 110 | compiler: compilerId, |
| 111 | lang: langId, |
| 112 | filters, |
| 113 | options, |
| 114 | libs, |
| 115 | }, |
| 116 | }; |
| 117 | } |
| 118 | |
| 119 | /** Get a compiler for a tree mode component. */ |
| 120 | export function getCompilerForTree(treeId: number, lang: string): ComponentConfig<typeof COMPILER_COMPONENT_NAME> { |
nothing calls this directly
no outgoing calls
no test coverage detected