MCPcopy Index your code

hub / github.com/type-challenges/type-challenges / functions

Functions96 in github.com/type-challenges/type-challenges

↓ 21 callersFunctiont
(locale: SupportedLocale, key: string)
scripts/locales.ts:15
↓ 12 callersFunctionuniqueItems
(items: any[])
questions/30178-hard-unique-items/template.ts:1
↓ 9 callersFunctionassertArrayIndex
(array: readonly unknown[], key: string)
questions/00925-extreme-assert-array-index/template.ts:1
↓ 7 callersFunctionresolveInfo
(quiz: Quiz, locale: string = defaultLocale)
scripts/loader.ts:107
↓ 6 callersFunctiontoBadgeLink
(url: string, label: string, text: string, color: string, args = '')
scripts/readme.ts:43
↓ 5 callersFunctiontoBadge
(label: string, text: string, color: string, args = '')
scripts/readme.ts:39
↓ 4 callersFunctionloadFile
(filepath: string)
scripts/loader.ts:8
↓ 4 callersFunctionloadQuizzes
()
scripts/loader.ts:70
↓ 4 callersFunctionquizToBadge
(quiz: Quiz, locale: string, absolute = false, badge = true)
scripts/readme.ts:71
↓ 3 callersFunctionf
(name: string, locale: string, ext: string)
scripts/locales.ts:22
↓ 3 callersFunctionformatToCode
(quiz: Quiz, locale: SupportedLocale)
scripts/actions/utils/formatToCode.ts:10
↓ 3 callersFunctiongetCodeBlock
(text: string, title: string, lang = 'ts')
scripts/actions/issue-pr.ts:241
↓ 3 callersFunctionresolveFilePath
(dir: string, name: string, ext: string, locale: string)
scripts/utils/resolve.ts:3
↓ 3 callersFunctiontoDivider
(text: string)
scripts/actions/utils/toDivider.ts:1
↓ 3 callersFunctiontoQuizREADME
(quiz: Quiz, locale?: string, absolute = false)
scripts/toUrl.ts:23
↓ 3 callersFunctiontranslateAllQuizzes
(from: SupportedLocale, to: SupportedLocale)
scripts/translate.ts:61
↓ 3 callersFunctionupdateComment
(github: Github, context: Context, body: string)
scripts/actions/issue-pr.ts:211
↓ 2 callersFunctioncalculateFileHash
(filePathFull: string)
scripts/generate-play.ts:15
↓ 2 callersFunctioncreateMessageBody
(prNumber: number)
scripts/actions/issue-pr.ts:165
↓ 2 callersFunctiongetQuestionFullName
(no: number, difficulty: string, title: string)
scripts/actions/issue-pr.ts:265
↓ 2 callersFunctionloadLocaleVariations
( filepath: string, preprocessor: (s: string) => T = s => s as any as T, )
scripts/loader.ts:14
↓ 2 callersFunctionloadQuiz
(dir: string)
scripts/loader.ts:83
↓ 2 callersFunctiontoAnswerShort
(no: number, locale?: string)
scripts/toUrl.ts:75
↓ 2 callersFunctiontoCommentBlock
(text: string)
scripts/actions/utils/toCommentBlock.ts:1
↓ 2 callersFunctiontoDetailsInnerText
(text: string, locale: SupportedLocale)
scripts/readme.ts:67
↓ 2 callersFunctiontoPlaygroundUrl
( code: string, config: Object = {}, site = TYPESCRIPT_PLAYGROUND, )
scripts/toUrl.ts:11
↓ 2 callersFunctiontoRawREADME
(quiz: Quiz, locale?: string)
scripts/toUrl.ts:30
↓ 2 callersFunctiontoShareAnswerFull
(quiz: Quiz, locale: string = defaultLocale)
scripts/toUrl.ts:49
↓ 2 callersFunctiontoSolutionsShort
(no: number)
scripts/toUrl.ts:65
↓ 2 callersFunctiontranslateQuiz
(quiz: Quiz, from: SupportedLocale, to: SupportedLocale)
scripts/translate.ts:17
↓ 2 callersFunctionupdateIndexREADME
(quizzes: Quiz[])
scripts/readme.ts:148
↓ 2 callersFunctionupdateQuestionsREADME
(quizzes: Quiz[])
scripts/readme.ts:202
↓ 2 callersFunctionupdateREADMEs
(type?: 'quiz' | 'index')
scripts/readme.ts:222
↓ 1 callersFunctionbuild
()
scripts/build.ts:8
↓ 1 callersFunctioncalculateOverridableFiles
(cache: Snapshot, snapshot: Snapshot)
scripts/generate-play.ts:75
↓ 1 callersFunctionescapeHtml
(unsafe: string)
scripts/readme.ts:26
↓ 1 callersFunctionfn
(v: boolean)
questions/00002-medium-return-type/test-cases.ts:19
↓ 1 callersFunctiongeneratePlayground
()
scripts/generate-play.ts:93
↓ 1 callersFunctiongetAllTags
(quizzes: Quiz[], locale: string)
scripts/readme.ts:89
↓ 1 callersFunctiongetCommentRange
(text: string, key: string)
scripts/actions/issue-pr.ts:251
↓ 1 callersFunctiongetQuizzesByTag
(quizzes: Quiz[], locale: string, tag: string)
scripts/readme.ts:99
↓ 1 callersFunctiongetTimestampBadge
()
scripts/actions/issue-pr.ts:259
↓ 1 callersFunctioninsertInfoReadme
(filepath: string, quiz: Quiz, locale: SupportedLocale, quizzes: Quiz[])
scripts/readme.ts:106
↓ 1 callersFunctionisQuizWritable
(quizFileName: string, overridableFiles: Snapshot, playgroundSnapshot: Snapshot)
scripts/generate-play.ts:86
↓ 1 callersFunctionloadQuizByNo
(no: number | string)
scripts/loader.ts:95
↓ 1 callersFunctionmain
()
scripts/actions/loader.ts:9
↓ 1 callersFunctionquizNoToBadges
(ids: (string | number)[], quizzes: Quiz[], locale: string, absolute = false)
scripts/readme.ts:81
↓ 1 callersFunctionreadPlaygroundCache
(playgroundCachePath: string)
scripts/generate-play.ts:59
↓ 1 callersFunctionrun
()
scripts/translate-cli.ts:5
↓ 1 callersFunctiontakeSnapshot
(quizzesPath: string)
scripts/generate-play.ts:35
↓ 1 callersFunctiontoAuthorInfo
(author: Partial<QuizMetaInfo['author']> = {})
scripts/readme.ts:51
↓ 1 callersFunctiontoBadgeURL
(label: string, text: string, color: string, args = '')
scripts/readme.ts:35
↓ 1 callersFunctiontoDifficultyBadge
(difficulty: string, locale: SupportedLocale)
scripts/readme.ts:55
↓ 1 callersFunctiontoDifficultyBadgeInverted
(difficulty: string, locale: SupportedLocale, count: number)
scripts/readme.ts:59
↓ 1 callersFunctiontoDifficultyPlainText
(difficulty: string, locale: SupportedLocale, count: number)
scripts/readme.ts:63
↓ 1 callersFunctiontoFooter
(quiz: Quiz, locale: SupportedLocale)
scripts/actions/utils/toFooter.ts:7
↓ 1 callersFunctiontoHomepageShort
(locale?: string)
scripts/toUrl.ts:81
↓ 1 callersFunctiontoInfoHeader
(quiz: Quiz, locale: SupportedLocale)
scripts/actions/utils/toInfoHeader.ts:6
↓ 1 callersFunctiontoLinks
(quiz: Quiz, locale: SupportedLocale)
scripts/actions/utils/toLinks.ts:6
↓ 1 callersFunctiontoNearborREADME
(quiz: Quiz, locale?: string)
scripts/toUrl.ts:43
↓ 1 callersFunctiontoPlayShort
(no: number, locale?: string)
scripts/toUrl.ts:69
↓ 1 callersFunctiontoQuestionsRawREADME
(locale?: string)
scripts/toUrl.ts:38
↓ 1 callersFunctiontoReadmeShort
(no: number, locale?: string)
scripts/toUrl.ts:59
↓ 1 callersFunctiontoSolutionsFull
(no: number)
scripts/toUrl.ts:19
↓ 1 callersFunctiontranslateMarkdown
(code: string, from: SupportedLocale, to: SupportedLocale)
scripts/translate.ts:31
Functionaction
(github, context, core)
scripts/actions/toggle-pr-with-issue.ts:3
Functionaction
(github, context, core)
scripts/actions/issue-pr.ts:44
Functionaction
(github, context, core)
scripts/actions/labeling.ts:3
Functionbar
(arg1: boolean, arg2: { a: 'A' })
questions/03312-easy-parameters/test-cases.ts:4
Functionbaz
()
questions/03312-easy-parameters/test-cases.ts:5
Methodconstructor
()
questions/02828-hard-classpublickeys/test-cases.ts:7
Functiondata
(this)
questions/00213-hard-vue-basic-props/test-cases.ts:14
Functiondata
()
questions/00006-hard-simple-vue/test-cases.ts:4
Functionfn1
(v: boolean, w: any)
questions/00002-medium-return-type/test-cases.ts:20
Functionfoo
(arg1: string, arg2: number)
questions/03312-easy-parameters/test-cases.ts:3
Functionfullname
()
questions/00213-hard-vue-basic-props/test-cases.ts:39
Functionfullname
()
questions/00006-hard-simple-vue/test-cases.ts:19
MethodgetNum
()
questions/02828-hard-classpublickeys/test-cases.ts:13
FunctiongetOthers
(condition: boolean, a: A, b: B)
scripts/actions/issue-pr.ts:42
FunctiongetRandom
()
questions/00213-hard-vue-basic-props/test-cases.ts:44
FunctiongetRandom
()
questions/00006-hard-simple-vue/test-cases.ts:24
FunctionhandleError
(err: any)
scripts/actions/loader.ts:19
Functionhi
()
questions/00213-hard-vue-basic-props/test-cases.ts:47
Functionhi
()
questions/00006-hard-simple-vue/test-cases.ts:27
Functionincrement
(step = 1)
questions/01290-hard-pinia/test-cases.ts:25
Functioninit
()
questions/01290-hard-pinia/test-cases.ts:21
FunctionloadInfo
(s: string)
scripts/loader.ts:45
FunctionparsedNum
()
questions/01290-hard-pinia/test-cases.ts:16
FunctionreadmeCleanUp
(text: string)
scripts/loader.ts:38
Functionreset
()
questions/01290-hard-pinia/test-cases.ts:28
FunctionsetNum
(value: number)
questions/01290-hard-pinia/test-cases.ts:36
FunctionstringifiedNum
()
questions/01290-hard-pinia/test-cases.ts:10
Functiontest
()
questions/00213-hard-vue-basic-props/test-cases.ts:51
Functiontest
()
questions/00006-hard-simple-vue/test-cases.ts:32
FunctiontoPlanTextLink
(url: string, _label: string, text: string, _color: string, _args = '')
scripts/readme.ts:47
FunctiontranslateQuizByNo
(no: number, from: SupportedLocale, to: SupportedLocale)
scripts/translate.ts:10