(
id: number,
compilerName: string,
compilerFlags: unknown,
)
| 401 | |
| 402 | /** Get a flags view with the given configuration. */ |
| 403 | export function getFlagsViewWith( |
| 404 | id: number, |
| 405 | compilerName: string, |
| 406 | compilerFlags: unknown, |
| 407 | ): ComponentConfig<typeof FLAGS_VIEW_COMPONENT_NAME> { |
| 408 | return { |
| 409 | type: 'component', |
| 410 | componentName: FLAGS_VIEW_COMPONENT_NAME, |
| 411 | componentState: { |
| 412 | id, |
| 413 | compilerName, |
| 414 | compilerFlags, |
| 415 | }, |
| 416 | }; |
| 417 | } |
| 418 | |
| 419 | /** Get an empty preprocessor view component. */ |
| 420 | export function getPpView(): ComponentConfig<typeof PP_VIEW_COMPONENT_NAME> { |
nothing calls this directly
no outgoing calls
no test coverage detected