MCPcopy Index your code
hub / github.com/ritz078/transform / getEditorLanguage

Function getEditorLanguage

components/ConversionPanel.tsx:13–19  ·  view source on GitHub ↗
(lang: Language)

Source from the content-addressed store, hash-verified

11let prettierWorker;
12
13function getEditorLanguage(lang: Language) {
14 const mapping = {
15 flow: "typescript"
16 };
17
18 return mapping[lang] || lang;
19}
20
21export type Transformer = (args: {
22 value: string;

Callers 1

ConversionPanelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…