MCPcopy Index your code
hub / github.com/gibbok/typescript-book / makeFilePath

Function makeFilePath

tools/utils.ts:5–6  ·  view source on GitHub ↗
(item: Language)

Source from the content-addressed store, hash-verified

3import * as prettier from 'prettier';
4
5export const makeFilePath = (item: Language) =>
6 item === Language.en_EN ? '../README.md' : `../README-${item}.md`
7
8export type PrettierOptions = Exclude<prettier.Options, null>
9

Callers 3

mainFunction · 0.90
compile.tsFile · 0.90
mainFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected