Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/timocov/dts-bundle-generator
/ functions
Functions
206 in github.com/timocov/dts-bundle-generator
⨍
Functions
206
◇
Types & classes
393
↓ 19 callers
Function
getDeclarationsForSymbol
(symbol: ts.Symbol)
src/helpers/typescript.ts:128
↓ 13 callers
Function
getActualSymbol
(symbol: ts.Symbol, typeChecker: ts.TypeChecker)
src/helpers/typescript.ts:50
↓ 12 callers
Function
checkSchemaMatch
(value: unknown, schema: SchemeDescriptor<T>, errors: string[])
src/config-file/check-schema-match.ts:24
↓ 11 callers
Function
formatErrors
(errors: string[])
tests/unittests/check-schema-match.spec.ts:29
↓ 9 callers
Function
getNodeName
(node: ts.Node)
src/helpers/typescript.ts:31
↓ 9 callers
Method
getSymbol
(node: ts.Node)
src/types-usage-evaluator.ts:295
↓ 9 callers
Function
isNodeNamedDeclaration
(node: ts.Node)
src/helpers/typescript.ts:22
↓ 9 callers
Function
normalLog
(message: string)
src/logger.ts:12
↓ 8 callers
Method
addTopLevelIdentifier
* Adds (or "registers") a top-level {@link identifier} (which takes a top-level scope name to use).
src/collisions-resolver.ts:45
↓ 8 callers
Method
addUsages
(childSymbol: ts.Symbol, parentSymbol: ts.Symbol)
src/types-usage-evaluator.ts:278
↓ 8 callers
Function
getLibraryName
(fileName: string)
src/helpers/node-modules.ts:4
↓ 8 callers
Function
getNodeSymbol
(node: ts.Node, typeChecker: ts.TypeChecker)
src/helpers/typescript.ts:538
↓ 8 callers
Function
isReferencedModuleImportable
(statement: ts.ExportDeclaration | ts.ImportDeclaration)
src/bundle-generator.ts:348
↓ 8 callers
Function
verboseLog
(message: string)
src/logger.ts:8
↓ 7 callers
Function
getImportExportReferencedSymbol
(importExportSpecifier: ts.ExportSpecifier | ts.ImportSpecifier, typeChecker: ts.TypeChecker)
src/helpers/typescript.ts:651
↓ 7 callers
Function
getNodeOwnSymbol
(node: ts.Node, typeChecker: ts.TypeChecker)
src/helpers/typescript.ts:529
↓ 7 callers
Function
getTypesLibraryName
(path: string)
src/helpers/node-modules.ts:18
↓ 6 callers
Function
getAbsolutePath
(fileName: string, cwd?: string)
src/helpers/get-absolute-path.ts:6
↓ 6 callers
Function
getDeclarationNameSymbol
(name: NodeName, typeChecker: ts.TypeChecker)
src/helpers/typescript.ts:58
↓ 6 callers
Function
getReferencedModuleInfo
(moduleDecl: NodeWithReferencedModule, criteria: ModuleCriteria, typeChecker: ts.TypeChecker)
src/module-info.ts:58
↓ 6 callers
Function
isLibraryAllowed
(libraryName: string, allowedArray?: string[])
src/module-info.ts:147
↓ 6 callers
Function
warnLog
(message: string)
src/logger.ts:16
↓ 5 callers
Method
getActualSymbol
(symbol: ts.Symbol)
src/types-usage-evaluator.ts:303
↓ 5 callers
Function
getModuleLikeModuleInfo
(moduleLike: ts.SourceFile | ts.ModuleDeclaration, criteria: ModuleCriteria, typeChecker: ts.TypeChecker)
src/module-info.ts:71
↓ 4 callers
Method
addUsagesForNamespacedModule
(namespaceNode: ts.NamespaceImport | ts.NamespaceExport, moduleSpecifier: ts.StringLiteral, includeExports: bo
src/types-usage-evaluator.ts:194
↓ 4 callers
Function
checkDiagnosticsErrors
(diagnostics: readonly ts.Diagnostic[], failMessage: string)
src/helpers/check-diagnostics-errors.ts:18
↓ 4 callers
Function
fixPath
(path: string)
src/helpers/fix-path.ts:1
↓ 4 callers
Function
getFileModuleInfo
(fileName: string, criteria: ModuleCriteria)
src/module-info.ts:54
↓ 4 callers
Function
getImportModuleName
(imp: ts.ImportEqualsDeclaration | ts.ImportDeclaration | ts.ExportDeclaration)
src/helpers/typescript.ts:619
↓ 4 callers
Method
getNodeOwnSymbol
(node: ts.Node)
src/types-usage-evaluator.ts:299
↓ 4 callers
Function
isNodeUsed
(node: ts.Node)
src/bundle-generator.ts:869
↓ 4 callers
Function
logMessage
(message: string, level: LogLevel = LogLevel.Verbose)
src/logger.ts:35
↓ 4 callers
Method
namesForSymbol
* Returns a set of all already registered names for a given {@link symbol}.
src/collisions-resolver.ts:62
↓ 4 callers
Method
resolveReferencedIdentifier
* Resolves given {@link referencedIdentifier} to a name. * It assumes that a symbol for this identifier has been registered before by calling {@link
src/collisions-resolver.ts:73
↓ 3 callers
Function
addNsImport
(importItem: ModuleImportsSet, preferredLocalName: ts.Identifier)
src/bundle-generator.ts:674
↓ 3 callers
Function
checkProgramDiagnosticsErrors
(program: ts.Program)
src/helpers/check-diagnostics-errors.ts:10
↓ 3 callers
Function
createNamespaceForExports
(exports: ts.SymbolTable, namespaceSymbol: ts.Symbol)
src/bundle-generator.ts:1003
↓ 3 callers
Function
errorLog
(message: string)
src/logger.ts:20
↓ 3 callers
Function
getClosestSourceFileLikeNode
(node: ts.Node)
src/helpers/typescript.ts:567
↓ 3 callers
Function
getExportsForName
( exportedSymbols: readonly SourceFileExport[], typeChecker: ts.TypeChecker, name: NodeName )
src/helpers/typescript.ts:291
↓ 3 callers
Function
getImportItem
(importModuleSpecifier: string)
src/bundle-generator.ts:642
↓ 3 callers
Function
getInlinedSymbolsUsingSymbol
(symbol: ts.Symbol, predicate: (usedInSymbol: ts.Symbol) => boolean)
src/bundle-generator.ts:816
↓ 3 callers
Function
getModifiers
(node: ts.Node)
src/helpers/typescript.ts:508
↓ 3 callers
Function
getSymbolExportStarDeclarations
(symbol: ts.Symbol)
src/helpers/typescript.ts:660
↓ 3 callers
Method
getSymbolsUsingSymbol
(symbol: ts.Symbol)
src/types-usage-evaluator.ts:30
↓ 3 callers
Function
isGlobalScopeAugmentation
* @see https://github.com/Microsoft/TypeScript/blob/f7c4fefeb62416c311077a699cc15beb211c25c9/src/compiler/utilities.ts#L626-L628
src/helpers/typescript.ts:100
↓ 3 callers
Method
resolveIdentifierName
(identifier: ts.Identifier | ts.QualifiedName | ts.PropertyAccessEntityNameExpression)
src/generate-output.ts:36
↓ 3 callers
Function
resolveReferencedModule
(node: NodeWithReferencedModule, typeChecker: ts.TypeChecker)
src/helpers/typescript.ts:585
↓ 3 callers
Function
splitTransientSymbol
(symbol: ts.Symbol, typeChecker: ts.TypeChecker)
src/helpers/typescript.ts:67
↓ 3 callers
Function
updateImportsForStatement
(statement: ts.Statement | ts.SourceFile | ts.ExportSpecifier)
src/bundle-generator.ts:613
↓ 2 callers
Function
addNamedImport
(importItem: ModuleImportsSet, preferredLocalName: ts.Identifier, importedIdentifier: ts.Identifier)
src/bundle-generator.ts:663
↓ 2 callers
Function
addSymbolToNamespaceExports
(namespaceExports: Map<string, string>, symbol: ts.Symbol)
src/bundle-generator.ts:1004
↓ 2 callers
Function
addTypesReference
(library: string)
src/bundle-generator.ts:590
↓ 2 callers
Function
areDeclarationSame
(left: ts.NamedDeclaration, right: ts.NamedDeclaration)
src/bundle-generator.ts:990
↓ 2 callers
Function
changeExtensionToDts
(fileName: string)
src/compile-dts.ts:130
↓ 2 callers
Function
forEachImportOfStatement
(statement: ts.DeclarationStatement | ts.SourceFile, callback: (imp: ImportOfStatement, referencedModuleInfo:
src/bundle-generator.ts:733
↓ 2 callers
Function
forEachNodeThatShouldBeImported
(statement: ts.Statement | ts.SourceFile | ts.ExportSpecifier, callback: (st: ts.DeclarationStatement) => void
src/bundle-generator.ts:597
↓ 2 callers
Function
generateDtsBundle
(entries: readonly EntryPointConfig[], options: CompilationOptions = {})
src/bundle-generator.ts:142
↓ 2 callers
Function
getClosestModuleLikeNode
(node: ts.Node)
src/helpers/typescript.ts:557
↓ 2 callers
Function
getCompilerOptions
(inputFileNames: readonly string[], preferredConfigPath?: string)
src/get-compiler-options.ts:19
↓ 2 callers
Function
getDeclarationsForExportedValues
(exp: ts.ExportAssignment | ts.ExportDeclaration, typeChecker: ts.TypeChecker)
src/helpers/typescript.ts:669
↓ 2 callers
Function
getExportedSymbolsUsingSymbol
(nodeSymbol: ts.Symbol)
src/bundle-generator.ts:970
↓ 2 callers
Method
getNodeScope
* Returns a node's scope where it is located in terms of namespaces/modules. * E.g. A scope for `Opt` in `declare module foo { type Opt = number; }`
src/collisions-resolver.ts:203
↓ 2 callers
Function
handleNamespacedImportOrExport
(namespacedImportOrExport: ts.ExportDeclaration | ts.ImportDeclaration, namespaceExports: Map<string, string>,
src/bundle-generator.ts:1019
↓ 2 callers
Function
isDeclareModule
(node: ts.Node)
src/helpers/typescript.ts:115
↓ 2 callers
Function
isExportedWithLocalName
(namedDeclaration: ts.NamedDeclaration, exportedName: string)
src/bundle-generator.ts:1275
↓ 2 callers
Function
isSymbolUsedByInlinedSymbols
(symbol: ts.Symbol, predicate: (usedInSymbol: ts.Symbol) => boolean, visitedSymbols: Set<ts.Symbol> = new Set(
src/bundle-generator.ts:830
↓ 2 callers
Method
isSymbolUsedBySymbol
(symbol: ts.Symbol, by: ts.Symbol)
src/types-usage-evaluator.ts:26
↓ 2 callers
Function
prepareString
(str: string)
tests/e2e/test-cases/run-test-case.ts:18
↓ 2 callers
Function
recreateEntityName
(node: ts.EntityName, helpers: OutputHelpers)
src/generate-output.ts:164
↓ 2 callers
Function
renamedExportValue
(exportedName: string, localName: string)
src/generate-output.ts:134
↓ 2 callers
Function
renamedImportValue
(importedName: string, localName: string)
src/generate-output.ts:138
↓ 2 callers
Function
resolveGlobalName
(typeChecker: ts.TypeChecker, name: string)
src/helpers/typescript.ts:684
↓ 2 callers
Function
resolveModuleFileName
(currentFileName: string, moduleName: string)
src/module-info.ts:81
↓ 2 callers
Method
setUsageCacheValue
(fromSymbol: ts.Symbol, toSymbol: ts.Symbol, value: boolean)
src/types-usage-evaluator.ts:67
↓ 2 callers
Function
shouldSymbolBeImported
(nodeSymbol: ts.Symbol)
src/bundle-generator.ts:924
↓ 2 callers
Function
updateResultForAnyModule
(statements: readonly ts.Statement[], currentModule: ModuleInfo)
src/bundle-generator.ts:201
↓ 2 callers
Function
updateResultForExternalExport
(exportAssignment: ts.ExportAssignment | ts.ExportDeclaration)
src/bundle-generator.ts:206
↓ 2 callers
Function
updateResultImpl
(statementsToProcess: readonly ts.Statement[])
src/bundle-generator.ts:251
↓ 1 callers
Function
addDefaultImport
(importItem: ModuleImportsSet, preferredLocalName: ts.Identifier)
src/bundle-generator.ts:680
↓ 1 callers
Method
addExportsToSymbol
(exports: ts.SymbolTable | undefined, parentSymbol: ts.Symbol, visitedSymbols: Set<ts.Symbol> = new Set())
src/types-usage-evaluator.ts:213
↓ 1 callers
Function
addImport
(statement: ts.DeclarationStatement | ts.SourceFile)
src/bundle-generator.ts:684
↓ 1 callers
Function
addReExport
(importItem: ModuleImportsSet, moduleExportedName: string, reExportedName: string)
src/bundle-generator.ts:669
↓ 1 callers
Function
addRequireImport
(importItem: ModuleImportsSet, preferredLocalName: ts.Identifier)
src/bundle-generator.ts:659
↓ 1 callers
Method
addUsagesForExportAssignment
(exportAssignment: ts.ExportAssignment)
src/types-usage-evaluator.ts:167
↓ 1 callers
Function
checkSchemaMatchRecursively
(value: unknown, schema: SchemeDescriptor<T> | [SchemeDescriptor<T>], prefix: string, errors: string[])
src/config-file/check-schema-match.ts:34
↓ 1 callers
Function
compileDts
(rootFiles: readonly string[], preferredConfigPath?: string, followSymlinks: boolean = true)
src/compile-dts.ts:32
↓ 1 callers
Method
computeUsages
(files: ts.SourceFile[])
src/types-usage-evaluator.ts:79
↓ 1 callers
Method
computeUsagesRecursively
(parent: ts.Node, parentSymbol: ts.Symbol)
src/types-usage-evaluator.ts:239
↓ 1 callers
Function
createCachingCompilerHost
(compilerOptions: ts.CompilerOptions)
src/compile-dts.ts:110
↓ 1 callers
Function
enableNormalLog
()
src/logger.ts:31
↓ 1 callers
Function
enableVerbose
()
src/logger.ts:26
↓ 1 callers
Function
findConfig
(inputFiles: readonly string[])
src/get-compiler-options.ts:45
↓ 1 callers
Function
findExportingExportStarExportFromImportableModule
* This function returns an export-star object that exports given {@link nodeSymbol} symbol. * If an exporting export declaration object is not fro
src/bundle-generator.ts:407
↓ 1 callers
Function
findInputFile
(testCaseDir: string)
tests/e2e/test-cases/run-test-case.ts:22
↓ 1 callers
Function
findResultRecursively
(referencedModuleSym: ts.Symbol, exportedNodeSym: ts.Symbol, visitedSymbols: Set<ts.Symbol>)
src/bundle-generator.ts:408
↓ 1 callers
Function
findTestCaseFolders
()
tests/e2e/test-cases-validation.spec.ts:11
↓ 1 callers
Function
func
({ prop }: InterfaceName = { prop: 1, prop2: 1 })
tests/e2e/test-cases/primitive-generation/input.ts:3
↓ 1 callers
Function
generateImports
(libraryName: string, imports: ModuleImportsSet)
src/generate-output.ts:318
↓ 1 callers
Function
generateOutFileName
(inputFilePath: string)
src/bin/dts-bundle-generator.ts:173
next →
1–100 of 206, ranked by callers