MCPcopy Create free account

hub / github.com/timocov/dts-bundle-generator / functions

Functions206 in github.com/timocov/dts-bundle-generator

↓ 1 callersFunctiongenerateOutput
(params: OutputParams, options: OutputOptions = {})
src/generate-output.ts:47
↓ 1 callersFunctiongenerateReferenceTypesDirective
(libraries: string[])
src/generate-output.ts:352
↓ 1 callersFunctiongetDeclarationFiles
* @description Compiles source files into d.ts files and returns map of absolute path to file content
src/compile-dts.ts:158
↓ 1 callersFunctiongetDeclarationUsagesSourceFiles
(declaration: ts.NamedDeclaration)
src/bundle-generator.ts:633
↓ 1 callersFunctiongetExportedSymbolsUsingStatement
(node: ts.NamedDeclaration)
src/bundle-generator.ts:961
↓ 1 callersFunctiongetExportsForSourceFile
(typeChecker: ts.TypeChecker, sourceFileSymbol: ts.Symbol)
src/helpers/typescript.ts:159
↓ 1 callersFunctiongetExportsForStatement
( exportedSymbols: readonly SourceFileExport[], typeChecker: ts.TypeChecker, statement: ts.Statement | ts.N
src/helpers/typescript.ts:253
↓ 1 callersFunctiongetIdentifierOfNamespaceImportFromInlinedModule
(nsSymbol: ts.Symbol)
src/bundle-generator.ts:1095
↓ 1 callersMethodgetMergedSymbol
(symbol: ts.Symbol)
src/helpers/typescript.ts:47
↓ 1 callersFunctiongetModuleInfoImpl
* @param currentFilePath Current file path - can be used to override actual path of module (e.g. with `typeRoots`) * @param originalFileName Original
src/module-info.ts:90
↓ 1 callersFunctiongetRootSourceFile
(program: ts.Program, rootFileName: string)
src/helpers/typescript.ts:516
↓ 1 callersMethodgetStatementSettings
(statement: ts.Statement)
src/generate-output.ts:33
↓ 1 callersFunctiongetStatementText
(statement: ts.Statement, includeSortingValue: boolean, helpers: OutputHelpers)
src/generate-output.ts:184
↓ 1 callersMethodgetSymbolScope
(identifierSymbol: ts.Symbol)
src/collisions-resolver.ts:185
↓ 1 callersFunctiongetTestCaseConfig
(testCaseDir: string)
tests/e2e/test-cases/run-test-case.ts:46
↓ 1 callersFunctionhandleExportDeclarationFromRootModule
(exportDeclaration: ts.ExportDeclaration)
src/bundle-generator.ts:352
↓ 1 callersFunctionhandleExportStarStatement
(exportStarStatement: ts.ExportDeclaration, visitedSymbols: Set<ts.Symbol> = new Set())
src/bundle-generator.ts:353
↓ 1 callersFunctionhasNodeModifier
(node: ts.Node, modifier: ts.SyntaxKind)
src/helpers/typescript.ts:26
↓ 1 callersFunctionisAmbientModule
(node: ts.Node)
src/helpers/typescript.ts:108
↓ 1 callersFunctionisDeclareGlobalStatement
(statement: ts.Statement)
src/helpers/typescript.ts:124
↓ 1 callersFunctionisDirectory
(filePath: string)
tests/e2e/test-cases-validation.spec.ts:7
↓ 1 callersFunctionisSymbolUsedByRootFileExports
(symbol: ts.Symbol)
src/bundle-generator.ts:856
↓ 1 callersMethodisSymbolUsedBySymbolImpl
(fromSymbol: ts.Symbol, toSymbol: ts.Symbol, visitedSymbols: Set<ts.Symbol>)
src/types-usage-evaluator.ts:34
↓ 1 callersFunctionjustFunction
(input: boolean)
tests/e2e/test-cases/extend-other-module-complex/extender.ts:1
↓ 1 callersFunctionloadConfigFile
(configPath: string)
src/config-file/load-config-file.ts:29
↓ 1 callersFunctionmain
()
scripts/clean-package-json.js:11
↓ 1 callersFunctionmeasureTime
(func: () => void)
src/helpers/measure-time.ts:5
↓ 1 callersFunctionmodifiersMapToArray
(modifiersMap: ModifiersMap)
src/helpers/typescript.ts:330
↓ 1 callersFunctionmodifiersToMap
(modifiers: (readonly ts.Modifier[]) | undefined | null)
src/helpers/typescript.ts:317
↓ 1 callersFunctionnanosecondsToMs
(value: number)
src/helpers/measure-time.ts:16
↓ 1 callersMethodneedStripConstFromConstEnum
(constEnum: ts.EnumDeclaration)
src/generate-output.ts:34
↓ 1 callersMethodneedStripImportFromImportTypeNode
(importType: ts.ImportTypeNode)
src/generate-output.ts:35
↓ 1 callersFunctionpackageVersion
()
src/helpers/package-version.ts:4
↓ 1 callersFunctionparseArgs
()
src/bin/dts-bundle-generator.ts:61
↓ 1 callersFunctionprettifyStatementsText
(statementsText: string)
src/generate-output.ts:142
↓ 1 callersFunctionrecreateRootLevelNodeWithModifiers
(node: ts.Node, modifiersMap: ModifiersMap, newName?: string, keepComments: boolean = true)
src/helpers/typescript.ts:346
↓ 1 callersFunctionrecreateRootLevelNodeWithModifiersImpl
(node: ts.Node, modifiersMap: ModifiersMap, newName?: string)
src/helpers/typescript.ts:357
↓ 1 callersMethodregisterSymbol
(identifierSymbol: ts.Symbol, preferredName: string)
src/collisions-resolver.ts:220
↓ 1 callersFunctionremapToTypesFromNodeModules
(pathRelativeToTypesRoot: string)
src/module-info.ts:151
↓ 1 callersFunctionresolveDeclarationByIdentifierSymbol
(identifierSymbol: ts.Symbol)
src/helpers/typescript.ts:239
↓ 1 callersMethodresolveName
(name: string, location: ts.Node | undefined, meaning: ts.SymbolFlags, excludeGlobals: boolean)
src/helpers/typescript.ts:686
↓ 1 callersMethodresolveReferencedQualifiedName
* Similar to {@link resolveReferencedIdentifier}, but works with qualified names (Ns.Ns1.Interface). * The main point of this resolver is that it mi
src/collisions-resolver.ts:134
↓ 1 callersFunctionreturnMyType
()
tests/e2e/test-cases/import-from-non-relative-path-inferred-type/src/field/type.ts:5
↓ 1 callersFunctionsecondsToMs
(value: number)
src/helpers/measure-time.ts:12
↓ 1 callersFunctionshouldLibraryBeImported
( npmLibraryName: string, typesLibraryName: string | null, importedLibraries: string[] | undefined, allowe
src/module-info.ts:127
↓ 1 callersFunctionshouldLibraryBeInlined
(npmLibraryName: string, typesLibraryName: string | null, inlinedLibraries: string[])
src/module-info.ts:123
↓ 1 callersFunctionshouldNodeBeImported
(node: ts.NamedDeclaration)
src/bundle-generator.ts:915
↓ 1 callersFunctionspacesToTabs
(text: string)
src/generate-output.ts:358
↓ 1 callersFunctionstatementsTextToString
(statements: StatementText[])
src/generate-output.ts:129
↓ 1 callersFunctionsyncExports
()
src/bundle-generator.ts:1171
↓ 1 callersFunctionupdateResultForModuleDeclaration
(moduleDecl: ts.ModuleDeclaration, currentModule: ModuleInfo)
src/bundle-generator.ts:567
↓ 1 callersFunctionwarnAboutTypeScriptFilesInProgram
(program: ts.Program)
src/compile-dts.ts:200
Function__global
()
tests/e2e/test-cases/underscore-in-name/input.ts:1
Function__index
()
tests/e2e/test-cases/underscore-in-name/func.ts:1
FunctionanotherFunc
(one: NamespaceName.Local)
tests/e2e/test-cases/names-collision-across-files/file1.ts:24
FunctionanotherFunc
(two: NamespaceName.Local)
tests/e2e/test-cases/names-collision-across-files/file2.ts:26
Methodbar
(options?: Interface)
tests/e2e/test-cases/export-via-global-declaration-but-inlineDeclareGlobals-disabled/other-global.ts:6
Methodbar
(options?: Interface)
tests/e2e/test-cases/export-via-global-declaration/other-global.ts:6
Methodbar
(options?: Interface)
tests/e2e/test-cases/export-via-global-declaration/output.d.ts:11
FunctionclassNames
()
tests/e2e/test-cases/re-export-default-export-with-same-name/class-names/class-names.ts:2
FunctioncompareStatementText
(a: StatementText, b: StatementText)
src/generate-output.ts:154
MethodcomputeUsageForNode
(node: ts.Node)
src/types-usage-evaluator.ts:88
Methodconstructor
(files: ts.SourceFile[], typeChecker: ts.TypeChecker)
src/types-usage-evaluator.ts:21
Methodconstructor
(typeChecker: ts.TypeChecker)
src/collisions-resolver.ts:38
FunctiondefaultFunction
()
tests/e2e/test-cases/re-export-from-importable-module/variables.ts:4
MethodemitStoppableEvent
(error: Error)
tests/e2e/test-cases/handle-export-eq-from-npm/input.ts:6
Methodfoo
(options?: FooOptions)
tests/e2e/test-cases/export-via-global-declaration-but-inlineDeclareGlobals-disabled/input.ts:7
Methodfoo
(options?: FooOptions)
tests/e2e/test-cases/export-via-global-declaration/input.ts:7
Methodfoo
(options?: FooOptions)
tests/e2e/test-cases/export-via-global-declaration/output.d.ts:18
FunctionfooBar
()
tests/e2e/test-cases/export-default-just-declared-fns-from-entry/some-fns.ts:5
Functionfunc
(one: number)
tests/e2e/test-cases/names-collision-across-files/file1.ts:16
Functionfunc
(two: number)
tests/e2e/test-cases/names-collision-across-files/file2.ts:16
Functionfunc
()
tests/e2e/test-cases/disable-non-direct-exports/module.ts:5
Functionfunc
()
tests/e2e/test-cases/export-wrapped-with-namespace/one-more-exports.ts:3
Functionfunc
()
tests/e2e/test-cases/export-wrapped-with-namespace/exports.ts:3
Functionfunc
()
tests/e2e/test-cases/export-wrapped-with-namespace/another-exports.ts:3
Functionfunc
()
tests/e2e/test-cases/import-star-from-local-module/func.ts:1
FunctionfuncName
()
tests/e2e/test-cases/re-export-from-importable-module/variables.ts:3
FunctiongetRandom
()
tests/e2e/test-cases/strip-export-from-non-exported-function/some-function.ts:1
FunctiongetRandom
()
tests/e2e/test-cases/extend-other-module-complex/extendable-module.ts:1
FunctiongetRandom
()
tests/e2e/test-cases/extend-other-module/extendable-module.ts:1
MethodgetThis
()
tests/e2e/test-cases/strip-export-from-non-exported-class/some-class.ts:2
FunctionisPromise
()
tests/e2e/test-cases/re-export-default-export-with-same-name/is-promise/is-promise.ts:1
FunctionisSymbolForDeclareModuleDeclaration
(symbol: ts.Symbol)
src/bundle-generator.ts:864
FunctionisSymbolForGlobalDeclaration
(symbol: ts.Symbol)
src/bundle-generator.ts:860
FunctionjustFunction
(input: SomeInterface)
tests/e2e/test-cases/extend-other-module/input.ts:3
Functionmain
()
src/bin/dts-bundle-generator.ts:179
Methodmethod
()
tests/e2e/test-cases/save-jsdoc/some-class.ts:19
Methodmethod
()
tests/e2e/test-cases/strip-export-from-non-exported-enum/some-class.ts:10
Methodmethod2
Method description
tests/e2e/test-cases/save-jsdoc/some-class.ts:24
Methodmethod2
()
tests/e2e/test-cases/strip-export-from-non-exported-enum/some-class.ts:14
Functionname
(a: number)
tests/e2e/test-cases/export-default-just-declared-fns-from-entry/some-fns.ts:1
FunctionprocessExportSymbol
(namespaceExports: Map<string, string>, symbol: ts.Symbol)
src/bundle-generator.ts:1050
FunctionresolveIdentifier
(typeChecker: ts.TypeChecker, identifier: ts.Identifier)
src/helpers/typescript.ts:230
FunctionrunTestCase
(testCaseDirPath: string)
tests/e2e/test-cases/run-test-case.ts:60
FunctionsayHello
(name: string)
tests/e2e/test-cases/re-export-as-named-and-default/lib.ts:1
FunctionsomeFunction
(program: Command)
tests/e2e/test-cases/import-from-interface-with-export-eq/input.ts:3
Functionsubtract
(a: number, b: number)
tests/e2e/test-cases/re-export-default-export-as-default-export/math.ts:1
Functiontest
()
tests/e2e/test-cases/allow-js/input.ts:3
Functiontest
()
tests/e2e/test-cases/import-from-non-relative-path-inferred-type/input.ts:3
← previousnext →101–200 of 206, ranked by callers