MCPcopy Create free account

hub / github.com/sindresorhus/type-fest / functions

Functions1,157 in github.com/sindresorhus/type-fest

↓ 11 callersFunctiontest
(_: SingleKeyObject<T>)
test-d/single-key-object.ts:4
↓ 9 callersMethodrun
()
test-d/writable-deep.ts:152
↓ 8 callersMethodadd
(item: string)
test-d/writable.ts:105
↓ 7 callersFunctioncreateRuleTester
(overrides = {})
lint-rules/testing-utilities.js:8
↓ 7 callersMethodreplace
(value: Value)
test-d/writable.ts:211
↓ 7 callersFunctionsave
(row: Exact<Row, Input> & Input)
test-d/exact.ts:342
↓ 6 callersFunctionvisit
lint-rules/jsdoc-link-imports.js:21
↓ 5 callersFunctioncreateFixtures
lint-rules/testing-utilities.js:52
↓ 5 callersFunctionfixturePath
lint-rules/testing-utilities.js:65
↓ 5 callersFunctionfunction_
(arguments_: T)
test-d/exact.ts:6
↓ 4 callersFunctioncallback
()
test-d/flavor.ts:153
↓ 4 callersMethodmethod
()
test-d/jsonifiable-value.ts:422
↓ 3 callersFunctioncloneChecked
(value: Value)
test-d/structured-cloneable.ts:189
↓ 3 callersFunctionexportType
(...prefixes)
lint-rules/testing-utilities.js:195
↓ 3 callersFunctionformat
(value: string | number)
test-d/has-multiple-call-signatures.ts:169
↓ 3 callersFunctionfunction_
(Cls: Constructor<Foo>)
test-d/class.ts:12
↓ 3 callersFunctiongetCodeblocks
(text)
lint-rules/codeblocks.js:11
↓ 3 callersMethodnext
()
test-d/required-keep-undefined.ts:170
↓ 3 callersFunctionparse
(value: string | number)
test-d/has-multiple-call-signatures.ts:159
↓ 3 callersFunctionvisit
lint-rules/validate-jsdoc-codeblocks.js:285
↓ 3 callersFunctionwithBar
(Ctor: T)
test-d/abstract-class.ts:22
↓ 2 callersFunctionasyncFunction
()
test-d/async-return-type.ts:4
↓ 2 callersFunctioncreateTypeAwareRuleTester
(fixtureFiles, options = {})
lint-rules/testing-utilities.js:70
↓ 2 callersFunctionerrorAt
lint-rules/testing-utilities.js:289
↓ 2 callersFunctionexportTypeAndOption
(...prefixes)
lint-rules/testing-utilities.js:269
↓ 2 callersFunctionfence
(code, lang = '')
lint-rules/testing-utilities.js:133
↓ 2 callersFunctionfirstOf
(values: MinimumLengthArray<Value, 1>)
test-d/minimum-length-array.ts:128
↓ 2 callersFunctionformatTypeText
Formats type syntax while preserving string and template literal contents. @param {string} type - The printed type to format. @param {(text: string)
lint-rules/validate-jsdoc-codeblocks.js:341
↓ 2 callersFunctionfunctionReceivingAbsClass
(cls: AbstractClass<T>)
test-d/abstract-class.ts:18
↓ 2 callersFunctiongetRequiredTypes
()
lint-rules/readme-api-types.js:209
↓ 2 callersFunctiongetTrailingComment
lint-rules/jsdoc-link-imports.js:121
↓ 2 callersFunctionjsdoc
(...lines)
lint-rules/testing-utilities.js:164
↓ 2 callersFunctionnested
(arguments_: T)
test-d/exact.ts:185
↓ 2 callersFunctionoptional
(arguments_: T)
test-d/exact.ts:982
↓ 2 callersFunctionprint
lint-rules/validate-jsdoc-codeblocks.js:281
↓ 2 callersFunctionwithDefaults
(defaultValues: DefaultsFor<GenericOptions>, options: GenericOptions)
test-d/defaults-for.ts:116
↓ 1 callersFunction_constructGenericOverload
(callback: (value: Value) => Value)
test-d/overloads.ts:313
↓ 1 callersFunction_copyFixedItems
(values: FixedLengthArray<Value, Length>)
test-d/fixed-length-array.ts:207
↓ 1 callersFunction_hasExclusiveData
(value: MergeExclusive<{data: Value}, {error: Error}>)
test-d/merge-exclusive.ts:190
↓ 1 callersFunction_prototypeChoice
(value: Value)
test-d/merge-exclusive.ts:180
↓ 1 callersFunction_readCheckedReadonlyField
(value: Base, key: keyof Base, fields: ReadonlyArray<ReadonlyKeysOf<Base>>)
test-d/readonly-keys-of.ts:129
↓ 1 callersFunction_readCheckedWritableField
(value: Base, key: keyof Base, fields: ReadonlyArray<WritableKeysOf<Base>>)
test-d/writable-keys-of.ts:155
↓ 1 callersFunctionacceptNumericProperty
(input: Input)
test-d/exact.ts:1096
↓ 1 callersFunctionacceptOptionalVariadic
(input: Input)
test-d/exact.ts:1148
↓ 1 callersFunctionacceptReadonlyVariadic
(input: Input)
test-d/exact.ts:1140
↓ 1 callersFunctionacceptRestOnly
(input: Input)
test-d/exact.ts:1158
↓ 1 callersFunctionacceptReversedArray
(value: ArrayReverse<Value>)
test-d/array-reverse.ts:315
↓ 1 callersFunctionacceptVariadicMiddle
(input: Input)
test-d/exact.ts:1132
↓ 1 callersFunctionacceptVariadicPrefix
(input: Input)
test-d/exact.ts:1102
↓ 1 callersFunctionacceptVariadicRecords
(input: Input)
test-d/exact.ts:1108
↓ 1 callersFunctionacceptVariadicSuffix
(input: Input)
test-d/exact.ts:1124
↓ 1 callersFunctionacceptVariadicUnion
(input: Input)
test-d/exact.ts:1166
↓ 1 callersFunctionaddImport
(fixer, name, exportFile, imports)
lint-rules/jsdoc-link-imports.js:211
↓ 1 callersFunctionaddNamedExports
(exportedTypes, elements, getDeclaration)
lint-rules/readme-api-types.js:71
↓ 1 callersFunctionapiList
lint-rules/readme-api-types.test.js:90
↓ 1 callersMethodarea
()
test-d/abstract-class.ts:108
↓ 1 callersFunctionarray
(arguments_: T)
test-d/exact.ts:1014
↓ 1 callersFunctionarrayFunction
(arguments_: T)
test-d/exact.ts:561
↓ 1 callersFunctionarrayOfRecordsFunction
(arguments_: T)
test-d/exact.ts:576
↓ 1 callersFunctionassertWithBar
()
test-d/abstract-class.ts:44
↓ 1 callersFunctionasyncPromiseLike
()
test-d/async-return-type.ts:15
↓ 1 callersFunctioncallAsyncCallback
(callback: Asyncify<(...arguments_: Arguments) => Result>, ...arguments_: Arguments)
test-d/asyncify.ts:61
↓ 1 callersFunctioncallReplacedCallback
(callback: SetReturnType<(this: Receiver, ...arguments_: Arguments) => boolean, Result>, receiver: Receiver, .
test-d/set-return-type.ts:76
↓ 1 callersFunctioncallbackFunction
(arguments_: T)
test-d/exact.ts:499
↓ 1 callersFunctioncastArray2
(value: Arrayable<T>)
test-d/arrayable.ts:19
↓ 1 callersFunctioncheckExportedType
lint-rules/require-exported-types.js:107
↓ 1 callersFunctioncheckImport
(declaration, imports, jsdocSymbols)
lint-rules/jsdoc-link-imports.js:154
↓ 1 callersFunctioncleanDeclaredRow
(id: NonNullable<Value>)
test-d/set-non-nullable-deep.ts:319
↓ 1 callersFunctioncollectJSDocReferences
(sourceFile, checker)
lint-rules/jsdoc-link-imports.js:17
↓ 1 callersFunctionconstructAsyncCallback
(callback: (...arguments_: Arguments) => Promise<Awaited<Result>>)
test-d/asyncify.ts:57
↓ 1 callersFunctionconstructAsyncPayload
(data: Payload)
test-d/async-return-type.ts:35
↓ 1 callersFunctionconstructEvent
(value: Value)
test-d/tagged-union.ts:93
↓ 1 callersFunctionconstructFourDimensions
(value: ReadonlyFourDimensionalArray<Value>)
test-d/multidimensional-readonly-array.ts:140
↓ 1 callersFunctionconstructGenericParameterList
( callback: (this: Receiver, first: number, ...arguments_: Arguments) => Result, )
test-d/set-parameter-type.ts:271
↓ 1 callersFunctionconstructMatrix
(value: Value[][])
test-d/multidimensional-array.ts:116
↓ 1 callersFunctionconstructReadonlyCube
(value: ReadonlyArray<ReadonlyArray<readonly Value[]>>)
test-d/multidimensional-readonly-array.ts:120
↓ 1 callersFunctionconstructSingleton
(value: Value)
test-d/union-member.ts:37
↓ 1 callersFunctioncopyNonNever
(value: Value)
test-d/pick-non-never.ts:200
↓ 1 callersFunctioncoveredDictionary
(value: Value)
test-d/exclusify-union.ts:228
↓ 1 callersFunctioncreateArray
(dimensions: T)
test-d/multidimensional-readonly-array.ts:4
↓ 1 callersFunctioncreateArray
(dimensions: T)
test-d/multidimensional-array.ts:4
↓ 1 callersFunctioncreateComplexOption
(type: ComplexOption['type'])
test-d/schema.ts:87
↓ 1 callersFunctioncreateDispatch
(value: Value)
test-d/exclusify-union.ts:176
↓ 1 callersFunctioncreateEvent
(kind: Name, payload: Members[Name])
test-d/tagged-union.ts:105
↓ 1 callersFunctioncreateFormSchema
(rule: Value)
test-d/schema.ts:508
↓ 1 callersFunctioncreateInstance
(Type: Constructor<Instance, Arguments>, ...arguments_: Arguments)
test-d/class.ts:132
↓ 1 callersFunctioncreateNamed
(value: Value)
test-d/flavor.ts:22
↓ 1 callersFunctioncreateOptionalName
(id: Value)
test-d/set-optional.ts:274
↓ 1 callersFunctioncreateReadonlyCollections
(value: ReadonlyDeep<Value>)
test-d/readonly-deep.ts:450
↓ 1 callersFunctioncreateReversedSuffix
(value: readonly [6, 5, 4, 3, 2, 1, ...Value[]])
test-d/array-reverse.ts:376
↓ 1 callersFunctioncreateSetEntry
(value: Value)
test-d/entries.ts:308
↓ 1 callersFunctioncreateTarget
()
test-d/strict-event-target.ts:20
↓ 1 callersFunctiondateFunction
(arguments_: T)
test-d/exact.ts:496
↓ 1 callersFunctiondeclaredFunction
(arguments_: T)
test-d/exact.ts:329
↓ 1 callersFunctiondeclaredOptionalFunction
(arguments_: T)
test-d/exact.ts:597
↓ 1 callersFunctionencodeJsonEvent
(value: Value, encode: (value: Value) => string)
test-d/jsonify.ts:1077
↓ 1 callersFunctionencodeReadonlyHook
(value: Value, encode: (value: Value) => readonly [1, 2])
test-d/jsonify.ts:1136
↓ 1 callersFunctionerror
(messageId, name)
lint-rules/jsdoc-link-imports.test.js:37
↓ 1 callersFunctionexactRecord
(input: Input)
test-d/exact.ts:365
↓ 1 callersFunctionexportOption
(...prefixes)
lint-rules/testing-utilities.js:230
next →1–100 of 1,157, ranked by callers