Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Swatinem/rollup-plugin-dts
/ functions
Functions
179 in github.com/Swatinem/rollup-plugin-dts
⨍
Functions
179
◇
Types & classes
814
↓ 14 callers
Method
test
(name: string, fn: (bless: boolean) => any)
tests/utils.ts:40
↓ 11 callers
Function
withStartEnd
(esNode: T, nodeOrRange: ts.Node | Range)
src/transform/astHelpers.ts:235
↓ 10 callers
Function
createIdentifier
(node: ts.Identifier | ts.StringLiteral)
src/transform/astHelpers.ts:40
↓ 7 callers
Method
convertTypeNode
(node?: ts.TypeNode)
src/transform/DeclarationScope.ts:232
↓ 7 callers
Method
createDeclaration
(node: ts.Node, id?: ts.Identifier)
src/transform/Transformer.ts:44
↓ 7 callers
Method
pushReference
(id: ESTree.Expression)
src/transform/DeclarationScope.ts:75
↓ 6 callers
Method
pushIdentifierReference
(id: ts.Identifier | ts.StringLiteral)
src/transform/DeclarationScope.ts:102
↓ 5 callers
Function
parse
(fileName: string, code: string)
src/helpers.ts:19
↓ 5 callers
Method
popScope
(n = 1)
src/transform/DeclarationScope.ts:65
↓ 4 callers
Method
convertParametersAndType
(node: ts.SignatureDeclarationBase)
src/transform/DeclarationScope.ts:165
↓ 4 callers
Method
convertTypeParameters
(params?: ts.NodeArray<ts.TypeParameterDeclaration>)
src/transform/DeclarationScope.ts:219
↓ 4 callers
Function
exists
(path: string)
tests/utils.ts:4
↓ 4 callers
Method
pushStatement
(node: ESTree.Statement | ESTree.ModuleDeclaration)
src/transform/Transformer.ts:40
↓ 3 callers
Method
convertEntityName
(node: ts.EntityName)
src/transform/DeclarationScope.ts:106
↓ 3 callers
Function
convertExpression
(node: ts.Expression)
src/transform/astHelpers.ts:119
↓ 3 callers
Method
convertMembers
(members: ts.NodeArray<ts.TypeElement | ts.ClassElement>)
src/transform/DeclarationScope.ts:193
↓ 3 callers
Function
forEachFixture
(fixtures: string, cb: (name: string, dir: string) => void)
tests/utils.ts:14
↓ 3 callers
Function
getChunkImportSpecifier
(fromChunkFileName: string, toChunkFileName: string)
src/transform/sharedChunkPortability.ts:410
↓ 3 callers
Function
getCompilerOptions
( input: string, overrideOptions: ts.CompilerOptions, overrideConfigPath?: string, enableDeclarationMa
src/program.ts:55
↓ 3 callers
Function
getModule
( { entries, programs, resolvedOptions }: DtsPluginContext, fileName: string, code: string, )
src/index.ts:31
↓ 3 callers
Function
normalizePath
Normalize paths for comparison (handle Windows backslashes)
src/transform/ModuleDeclarationFixer.ts:26
↓ 3 callers
Method
pushScope
()
src/transform/DeclarationScope.ts:62
↓ 3 callers
Method
pushTypeVariable
(id: ts.Identifier)
src/transform/DeclarationScope.ts:70
↓ 3 callers
Function
uniqName
(hint: string)
src/transform/preprocess.ts:568
↓ 3 callers
Function
watchFiles
(module: ResolvedModule)
src/index.ts:141
↓ 2 callers
Function
clean
(code: string = "")
tests/downstream-helpers.ts:22
↓ 2 callers
Method
convertComputedPropertyName
(node: { name?: ts.PropertyName })
src/transform/DeclarationScope.ts:148
↓ 2 callers
Method
convertHeritageClauses
(node: ts.InterfaceDeclaration | ts.ClassDeclaration)
src/transform/DeclarationScope.ts:175
↓ 2 callers
Method
convertPropertyAccess
(node: ts.PropertyAccessExpression)
src/transform/DeclarationScope.ts:122
↓ 2 callers
Method
convertTypeArguments
(node: ts.NodeWithTypeArguments)
src/transform/DeclarationScope.ts:184
↓ 2 callers
Function
createBundle
(options: Options, rollupOptions: RollupOptions)
tests/fixture-helpers.ts:67
↓ 2 callers
Function
createTypeOnlyName
(name: string)
src/transform/TypeOnlyFixer.ts:294
↓ 2 callers
Function
fixModifiers
(code: MagicString, node: ts.Node)
src/transform/preprocess.ts:620
↓ 2 callers
Function
getDeclarationId
(path: string)
src/helpers.ts:15
↓ 2 callers
Function
getHostExportRoutes
(analysis: ChunkAnalysis, moduleSpecifier: string, importedName: string)
src/transform/sharedChunkPortability.ts:314
↓ 2 callers
Function
getNodeIndent
(node: ts.Node)
src/transform/TypeOnlyFixer.ts:277
↓ 2 callers
Function
getSafeName
(fileId: string)
src/transform/preprocess.ts:686
↓ 2 callers
Function
hydrateSourcemap
( sparseMappings: string, inputMap: InputSourceMap, outputCode: string, )
src/transform/sourcemap.ts:32
↓ 2 callers
Function
isFixtureSupported
(meta: Meta)
tests/fixture-helpers.ts:43
↓ 2 callers
Method
isTypeOnly
(name: string)
src/transform/TypeOnlyFixer.ts:267
↓ 2 callers
Function
isUrl
(p: string)
src/transform/index.ts:222
↓ 2 callers
Function
link
(target: string, linkPath: string)
tests/shim.ts:44
↓ 2 callers
Function
loadFixtureMeta
(dir: string)
tests/fixture-helpers.ts:25
↓ 2 callers
Function
logCache
(...args: unknown[])
src/program.ts:33
↓ 2 callers
Function
main
()
tests/index.ts:10
↓ 2 callers
Function
matchesModifier
(node: ts.Node, flags: ts.ModifierFlags)
src/transform/astHelpers.ts:241
↓ 2 callers
Function
newlineAt
(node: ts.Node, idx: number)
src/transform/preprocess.ts:699
↓ 2 callers
Function
normalizeChunkPath
(fileName: string)
src/transform/sharedChunkPortability.ts:433
↓ 2 callers
Function
preProcess
({ sourceFile, isEntry, isJSON }: PreProcessInput)
src/transform/preprocess.ts:58
↓ 2 callers
Function
trimExtension
(path: string)
src/helpers.ts:11
↓ 2 callers
Function
withInput
(dir: string, { input }: InputOptions)
tests/fixture-helpers.ts:101
↓ 1 callers
Function
addHostExportRoute
( hostRoutesByModule: Map<string, Map<string, HostExportRoute[]>>, moduleSpecifier: string, importedName
src/transform/sharedChunkPortability.ts:330
↓ 1 callers
Method
analyze
(nodes: Iterable<ts.Node>)
src/transform/TypeOnlyFixer.ts:172
↓ 1 callers
Function
analyzeChunk
( chunk: Pick<OutputChunk, "code" | "exports" | "fileName">, chunkGraph: Map<string, ChunkGraphInfo>, )
src/transform/sharedChunkPortability.ts:148
↓ 1 callers
Function
applyChunkEdits
(chunk: Pick<OutputChunk, "code" | "fileName" | "map">, code: MagicString)
src/transform/sharedChunkPortability.ts:368
↓ 1 callers
Function
assertDownstream
( dir: string, output: RollupOutput["output"], downstream: DownstreamCase[], bless: boolean, )
tests/downstream-helpers.ts:106
↓ 1 callers
Function
assertExpectedResult
(file: string, code: string, bless: boolean)
tests/preprocess.ts:27
↓ 1 callers
Function
assertTestcase
(dir: string, meta: Meta, bless: boolean)
tests/testcases.ts:49
↓ 1 callers
Function
assertTestcase
(dir: string, bless: boolean)
tests/preprocess.ts:16
↓ 1 callers
Method
augmentationApplies
* Check that every augmented name is exported from the target chunk under its * original name. Augmentation matches by exported name, so a name the
src/transform/ModuleDeclarationFixer.ts:202
↓ 1 callers
Function
buildImportStatement
( statement: ImportStatementInfo, specifiers: ImportSpecifierInfo[], moduleSpecifier: string, quote: "
src/transform/sharedChunkPortability.ts:347
↓ 1 callers
Function
bundleMultipleWithSourcemap
( inputs: Record<string, string>, outputDir: string, )
tests/sourcemap.ts:25
↓ 1 callers
Function
bundleWithAssets
( inputs: Record<string, string>, outputDir: string, )
tests/sourcemap.ts:44
↓ 1 callers
Function
bundleWithSourcemap
(inputPath: string)
tests/sourcemap.ts:10
↓ 1 callers
Function
cacheConfig
* Caches the config for every path between two given paths. * * It starts from the first path and walks up the directory tree until it reaches the s
src/program.ts:40
↓ 1 callers
Function
checkInlineImport
(node: ts.Node)
src/transform/preprocess.ts:536
↓ 1 callers
Function
clean
(code: string = "")
tests/testcases.ts:40
↓ 1 callers
Function
compareStrings
(left: string, right: string)
src/transform/sharedChunkPortability.ts:320
↓ 1 callers
Function
convert
({ sourceFile }: ConvertInput)
src/transform/Transformer.ts:17
↓ 1 callers
Method
convertClassOrInterfaceDeclaration
(node: ts.ClassDeclaration | ts.InterfaceDeclaration)
src/transform/Transformer.ts:154
↓ 1 callers
Method
convertEnumDeclaration
(node: ts.EnumDeclaration)
src/transform/Transformer.ts:139
↓ 1 callers
Method
convertExportDeclaration
(node: ts.ExportDeclaration | ts.ExportAssignment)
src/transform/Transformer.ts:230
↓ 1 callers
Method
convertExportSpecifier
(node: ts.ExportSpecifier)
src/transform/Transformer.ts:370
↓ 1 callers
Method
convertFunctionDeclaration
(node: ts.FunctionDeclaration)
src/transform/Transformer.ts:144
↓ 1 callers
Method
convertImportDeclaration
(node: ts.ImportDeclaration | ts.ImportEqualsDeclaration)
src/transform/Transformer.ts:294
↓ 1 callers
Method
convertNamedImportBindings
(node: ts.NamedImportBindings)
src/transform/Transformer.ts:350
↓ 1 callers
Method
convertNamespace
(node: ts.ModuleDeclaration, relaxedModuleBlock = false)
src/transform/DeclarationScope.ts:336
↓ 1 callers
Method
convertNamespaceDeclaration
(node: ts.ModuleDeclaration)
src/transform/Transformer.ts:121
↓ 1 callers
Method
convertStatement
(node: ts.Node)
src/transform/Transformer.ts:76
↓ 1 callers
Method
convertTypeAliasDeclaration
(node: ts.TypeAliasDeclaration)
src/transform/Transformer.ts:167
↓ 1 callers
Method
convertVariableStatement
(node: ts.VariableStatement)
src/transform/Transformer.ts:187
↓ 1 callers
Function
createDeclaration
(id: ts.Identifier, range: Range)
src/transform/astHelpers.ts:101
↓ 1 callers
Function
createFixture
(tempRoot: string)
tests/shim.ts:49
↓ 1 callers
Function
createIIFE
(range: Range)
src/transform/astHelpers.ts:54
↓ 1 callers
Function
createNamespaceImport
(fileId: string)
src/transform/preprocess.ts:559
↓ 1 callers
Function
createProgram
( fileName: string, overrideOptions: ts.CompilerOptions, tsconfig?: string, enableDeclarationMap?: boo
src/program.ts:118
↓ 1 callers
Function
createProgram
(node: ts.SourceFile)
src/transform/astHelpers.ts:10
↓ 1 callers
Function
createPrograms
( input: Array<string>, overrideOptions: ts.CompilerOptions, tsconfig?: string, enableDeclarationMap?:
src/program.ts:132
↓ 1 callers
Function
createReference
(id: ESTree.Expression)
src/transform/astHelpers.ts:25
↓ 1 callers
Function
createReturn
()
src/transform/astHelpers.ts:83
↓ 1 callers
Function
createTypeOnlyReExportName
(name: string)
src/transform/TypeOnlyFixer.ts:297
↓ 1 callers
Function
decodeResolvedModule
Decode a resolved module marker comment from text. Returns the absolute path, or null if not found.
src/transform/ModuleDeclarationFixer.ts:16
↓ 1 callers
Function
duplicateExports
(code: MagicString, module: ts.ModuleDeclaration)
src/transform/preprocess.ts:656
↓ 1 callers
Function
encodeResolvedModule
(absolutePath: string)
src/transform/ModuleDeclarationFixer.ts:11
↓ 1 callers
Method
findNamespaces
()
src/transform/NamespaceFixer.ts:38
↓ 1 callers
Method
findReferenceCount
(node: ts.Node)
src/transform/languageService.ts:36
↓ 1 callers
Method
findTargetChunk
* Find the output chunk containing the module at an absolute path. * Returns null when the module is not part of any output chunk.
src/transform/ModuleDeclarationFixer.ts:169
↓ 1 callers
Method
fix
()
src/transform/TypeOnlyFixer.ts:30
↓ 1 callers
Method
fix
()
src/transform/ModuleDeclarationFixer.ts:112
↓ 1 callers
Method
fix
()
src/transform/NamespaceFixer.ts:187
next →
1–100 of 179, ranked by callers