MCPcopy Create free account

hub / github.com/tsdjs/tsd / functions

Functions63 in github.com/tsdjs/tsd

↓ 102 callersFunctionexpectType
(expression: T)
source/lib/assertions/assert.ts:9
↓ 95 callersFunctionexpectError
(expression: T)
source/lib/assertions/assert.ts:51
↓ 69 callersFunctionone
(foo, bar)
source/test/fixtures/esm/index.js:1
↓ 59 callersFunctionverify
(t: ExecutionContext, diagnostics: Diagnostic[], expectations: Expectation[])
source/test/fixtures/utils.ts:38
↓ 12 callersFunctionverifyCli
( t: ExecutionContext, diagnostics: string, expectedLines: string[], {startLine}: {startLine: number} = {s
source/test/fixtures/utils.ts:129
↓ 10 callersFunctionprintType
(expression: any)
source/lib/assertions/assert.ts:92
↓ 8 callersFunctionexpectDeprecated
(expression: any)
source/lib/assertions/assert.ts:61
↓ 8 callersFunctionexpectDocCommentIncludes
(expression: any)
source/lib/assertions/assert.ts:102
↓ 8 callersFunctionexpectNotDeprecated
(expression: any)
source/lib/assertions/assert.ts:71
↓ 6 callersFunctionverifyWithFileName
( t: ExecutionContext, cwd: string, diagnostics: Diagnostic[], expectations: ExpectationWithFileName[] )
source/test/fixtures/utils.ts:64
↓ 5 callersFunctionexpectNotAssignable
(expression: any)
source/lib/assertions/assert.ts:41
↓ 5 callersFunctionexpectNotType
(expression: any)
source/lib/assertions/assert.ts:19
↓ 4 callersFunctionexpectAssignable
(expression: T)
source/lib/assertions/assert.ts:31
↓ 4 callersFunctionrunTest
(arg: '--typings' | '-t')
source/test/cli.ts:64
↓ 3 callersFunctionexit
(message: string, {isError = true}: {isError?: boolean} = {})
source/cli.ts:54
↓ 2 callersFunctionexpectDeprecatedHelper
(options: Options)
source/lib/assertions/handlers/expect-deprecated.ts:11
↓ 2 callersFunctionexpectNever
(expression: never)
source/lib/assertions/assert.ts:82
↓ 2 callersMethodfilter
(tags: Map<string, JSDocTagInfo>)
source/lib/assertions/handlers/expect-deprecated.ts:7
↓ 2 callersFunctionparseCompilerConfigObject
(compilerOptions: RawCompilerOptions, cwd: string)
source/lib/config.ts:75
↓ 2 callersFunctionresolveCommentHelper
(resolve: R)
source/lib/utils/typescript.ts:3
↓ 1 callersFunctionanyCall
(foo: any)
source/test/fixtures/undefined-symbol/index.test-d.ts:4
↓ 1 callersMethodbar
(value)
source/test/fixtures/expect-error/classes/index.js:2
↓ 1 callersMethodbar
()
source/test/fixtures/expect-error/classes/index.test-d.ts:9
↓ 1 callersFunctionextractAssertions
(program: Program)
source/lib/parser.ts:12
↓ 1 callersFunctionfindCustomTestFiles
(testFilesPattern: readonly string[], cwd: string)
source/lib/index.ts:42
↓ 1 callersFunctionfindTestFiles
(typingsFilePath: string, options: Options & {config: Config})
source/lib/index.ts:52
↓ 1 callersFunctionfindTypingsFile
(pkg: PackageJsonWithTsdConfig, options: Options)
source/lib/index.ts:16
↓ 1 callersFunctiongetOptionsFromTsConfig
(cwd: string)
source/lib/config.ts:59
↓ 1 callersFunctionhandle
(typeChecker: TypeChecker, assertions: Map<Assertion, Set<CallExpression>>)
source/lib/assertions/index.ts:47
↓ 1 callersFunctionhandleNode
* Checks if the given node is semantically valid and is an assertion.
source/lib/parser.ts:19
↓ 1 callersFunctionhandler
(checker: TypeChecker, expression: Expression)
source/lib/utils/typescript.ts:6
↓ 1 callersFunctionignoreDiagnostic
( diagnostic: TSDiagnostic, expectedErrors: Map<Location, ExpectedError> )
source/lib/compiler.ts:76
↓ 1 callersMethodmessage
(signature: string)
source/lib/assertions/handlers/expect-deprecated.ts:8
↓ 1 callersFunctionnormalizeTypingsFilePath
(typingsFilePath: string, options: Options)
source/lib/index.ts:34
↓ 1 callersFunctionparseErrorAssertionToLocation
( assertions: Map<Assertion, Set<CallExpression>> )
source/lib/parser.ts:77
↓ 1 callersFunctionparseRawLibs
(libs: string[], cwd: string)
source/lib/config.ts:83
↓ 1 callersFunctionprocessGitIgnoreStylePatterns
(patterns: readonly string[])
source/lib/rules/files-property.ts:43
↓ 1 callersFunctionverifyWithDiff
( t: ExecutionContext, diagnostics: Diagnostic[], expectations: ExpectationWithDiff[] )
source/test/fixtures/utils.ts:97
↓ 1 callersFunctionwalkNodes
* Recursively loop over all the nodes and extract all the assertions out of the source files.
source/lib/parser.ts:55
Methodconstructor
(message: string)
source/lib/interfaces.ts:93
Methodconstructor
(props)
source/test/fixtures/tsx/component/index.js:5
Methodconstructor
(props)
source/test/fixtures/tsx/component-type/index.js:5
Methodconstructor
(a: T)
source/test/fixtures/expect-error/missing-diagnostic-code/index.test-d.ts:15
Methodconstructor
(props)
source/test/fixtures/test-directory/tsx/index.js:5
Methoddummy
(a: string, b: number)
source/test/fixtures/expect-error/experimental-decorators/index.test-d.ts:30
Methoddummy
(a: string, b: number)
source/test/fixtures/expect-error/decorators/index.test-d.ts:20
FunctionexpectDocCommentIncludes
(checker: TypeChecker, nodes: Set<CallExpression>)
source/lib/assertions/handlers/informational.ts:48
FunctionexpressionToString
(checker: TypeChecker, expression: Expression)
source/lib/utils/typescript.ts:53
Methodfn
()
source/test/fixtures/expect-error/missing-diagnostic-code/index.test-d.ts:18
Methodfoo
()
source/test/fixtures/expect-error/classes/index.test-d.ts:13
Methodfoo
(a: string, b: number)
source/test/fixtures/expect-error/experimental-decorators/index.test-d.ts:15
Methodfoo
(a: string, b: number)
source/test/fixtures/expect-error/decorators/index.test-d.ts:11
FunctiongetDiagnostics
(context: Context)
source/lib/compiler.ts:119
FunctionisIdentical
(checker: TypeChecker, nodes: Set<CallExpression>)
source/lib/assertions/handlers/identicality.ts:12
FunctionisNever
(checker: TypeChecker, nodes: Set<CallExpression>)
source/lib/assertions/handlers/identicality.ts:105
FunctionisNotAssignable
(checker: TypeChecker, nodes: Set<CallExpression>)
source/lib/assertions/handlers/assignability.ts:12
FunctionisNotIdentical
(checker: TypeChecker, nodes: Set<CallExpression>)
source/lib/assertions/handlers/identicality.ts:73
FunctionlookupHeadphonesManufacturer
(color: 'blue' | 'black')
source/test/fixtures/ts-config-extends/index.test-d.ts:6
FunctionprintTypeWarning
(checker: TypeChecker, nodes: Set<CallExpression>)
source/lib/assertions/handlers/informational.ts:22
Methodrender
()
source/test/fixtures/tsx/component/index.js:9
Methodrender
()
source/test/fixtures/tsx/component-type/index.js:9
Methodrender
()
source/test/fixtures/test-directory/tsx/index.js:9
FunctionstrictAssertion
(checker: TypeChecker, nodes: Set<CallExpression>)
source/lib/assertions/handlers/strict-assertion.ts:12