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
↓ 1 callers
Method
fixTypeOnlyExport
(node: ExportDeclarationWithClause)
src/transform/TypeOnlyFixer.ts:122
↓ 1 callers
Method
fixTypeOnlyImport
(node: ImportDeclarationWithClause)
src/transform/TypeOnlyFixer.ts:51
↓ 1 callers
Method
formatChunkReference
* Format a chunk filename as a relative path from the current chunk.
src/transform/ModuleDeclarationFixer.ts:224
↓ 1 callers
Function
formatDiagnostic
(output: string, cwd: string)
tests/downstream-helpers.ts:57
↓ 1 callers
Function
formatUnresolvedSharedTypeWarning
(chunkFileName: string, symbols: Set<string>)
src/transform/sharedChunkPortability.ts:401
↓ 1 callers
Function
frameNode
(node: ts.Node)
src/transform/errors.ts:30
↓ 1 callers
Function
generateDts
()
src/index.ts:171
↓ 1 callers
Function
getAugmentedNames
Collect the names declared at the top level of an augmentation body.
src/transform/ModuleDeclarationFixer.ts:31
↓ 1 callers
Function
getChunkRuntimeFileName
(fileName: string)
src/transform/sharedChunkPortability.ts:420
↓ 1 callers
Function
getCodeFrame
()
src/transform/errors.ts:5
↓ 1 callers
Function
getEnd
(node: ts.Node)
src/transform/preprocess.ts:694
↓ 1 callers
Function
getExportSpecifierBinding
(element: ts.ExportSpecifier)
src/transform/TypeOnlyFixer.ts:282
↓ 1 callers
Function
getLocation
(node: ts.Node)
src/transform/errors.ts:20
↓ 1 callers
Function
getNameBinding
(sourceName: string, targetName: string)
src/transform/preprocess.ts:682
↓ 1 callers
Function
getPackageExportKeys
(fileName: string)
tests/downstream-helpers.ts:48
↓ 1 callers
Function
getRuntimeFileName
(fileName: string)
tests/downstream-helpers.ts:35
↓ 1 callers
Function
getStart
(node: ts.Node)
src/transform/preprocess.ts:690
↓ 1 callers
Function
handleDtsFile
()
src/index.ts:152
↓ 1 callers
Function
hasPublicHostRoute
(analysis: ChunkAnalysis, moduleSpecifier: string, importedName: string)
src/transform/sharedChunkPortability.ts:317
↓ 1 callers
Function
isGlobalModule
* If the `SourceFile` is a "global module": * * 1. Doesn't have any top-level `export {}` or `export default` statements, * otherwise it's a "s
src/transform/preprocess.ts:604
↓ 1 callers
Method
isReExportTypeOnly
(name: string)
src/transform/TypeOnlyFixer.ts:272
↓ 1 callers
Method
isUselessImport
(node: ts.Identifier)
src/transform/TypeOnlyFixer.ts:260
↓ 1 callers
Function
loadInputSourcemap
(info: SourcemapInfo)
src/transform/sourcemap.ts:107
↓ 1 callers
Function
loadTypeScript
()
src/typescript-shim.mjs:15
↓ 1 callers
Function
normalizeChunkHashes
* Replace Rollup's content hashes in chunk filenames with stable sequential * placeholders so snapshot assertions work across Rollup versions. * *
tests/testcases.ts:28
↓ 1 callers
Function
patchConsoleError
()
tests/utils.ts:25
↓ 1 callers
Function
pickHostCandidate
( entryChunks: OutputChunk[], analyses: Map<string, ChunkAnalysis>, currentChunkFileName: string, shar
src/transform/sharedChunkPortability.ts:270
↓ 1 callers
Function
preProcessNamespaceBody
(body: ts.ModuleBlock | ts.ModuleDeclaration, code: MagicString, sourceFile: ts.SourceFile)
src/transform/preprocess.ts:23
↓ 1 callers
Function
pushNamedNode
(name: string, range: Range)
src/transform/preprocess.ts:577
↓ 1 callers
Method
removeStatement
(node: ts.Node)
src/transform/Transformer.ts:109
↓ 1 callers
Function
renderTypeParams
(typeParameters?: ts.NodeArray<ts.TypeParameterDeclaration>)
src/transform/NamespaceFixer.ts:240
↓ 1 callers
Function
resolveDefaultOptions
(options: Options)
src/options.ts:34
↓ 1 callers
Function
rewritePortableSharedChunkImportsInBundle
( bundle: OutputBundle, warn: (message: string) => void, )
src/transform/sharedChunkPortability.ts:44
↓ 1 callers
Method
run
(argv: Array<string>)
tests/utils.ts:44
↓ 1 callers
Function
runNode
(cwd: string, args: Array<string>)
tests/shim.ts:76
↓ 1 callers
Function
stripResolvedModuleComment
Strip the resolved module marker comment.
src/transform/ModuleDeclarationFixer.ts:21
↓ 1 callers
Function
toRelativeSourcePath
(source: string)
src/transform/index.ts:275
↓ 1 callers
Method
trackExpressionReferences
(expr: ts.Expression, scope: DeclarationScope)
src/transform/Transformer.ts:208
↓ 1 callers
Function
transform
(code, id)
src/index.ts:136
↓ 1 callers
Method
transform
()
src/transform/Transformer.ts:34
↓ 1 callers
Function
treatTsAsDts
()
src/index.ts:161
↓ 1 callers
Function
unresolvedWarning
@param {string} specifier
tests/testcases/declare-relative-module-unresolved/meta.js:8
↓ 1 callers
Function
updateSourcemapAsset
(bundle: OutputBundle, chunkFileName: string, data: SourcemapData)
src/transform/index.ts:410
↓ 1 callers
Function
writeBlock
(codes: Array<string>)
src/transform/index.ts:394
↓ 1 callers
Function
writeBundleAsPackage
(packageDir: string, output: RollupOutput["output"])
tests/downstream-helpers.ts:61
Function
addNumber
(value, value2)
tests/testcases/issue-101-allow-js/index.js:1
Function
buildStart
()
src/transform/index.ts:43
Method
constructor
(fileName: string, rawCode: string)
src/transform/TypeOnlyFixer.ts:23
Method
constructor
({ id, range }: DeclarationScopeOptions)
src/transform/DeclarationScope.ts:43
Method
constructor
( chunk: RenderedChunk, code: MagicString, sourcemap: boolean, moduleToChunk: Map<string, stri
src/transform/ModuleDeclarationFixer.ts:92
Method
constructor
(code: string)
src/transform/languageService.ts:7
Method
constructor
(public sourceFile: ts.SourceFile)
src/transform/Transformer.ts:27
Method
constructor
(private sourceFile: ts.SourceFile)
src/transform/NamespaceFixer.ts:36
Method
constructor
(node: ts.Node, message: string = "Syntax not yet supported")
src/transform/errors.ts:49
Method
constructor
()
tests/utils.ts:38
Function
convertTypeOnlyHintStatement
(node: ts.TypeAliasDeclaration)
src/transform/astHelpers.ts:218
Method
foo
()
tests/testcases/type-simple/expected.d.ts:15
Method
foo
()
tests/testcases/type-simple/index.d.ts:15
Function
generateBundle
(options, bundle)
src/transform/index.ts:201
Function
isOutputChunk
(chunk: { type: string })
src/transform/sharedChunkPortability.ts:268
Function
isOutputChunk
(output: RollupOutput["output"][number])
tests/downstream-helpers.ts:31
Function
onLog
(level, log, defaultHandler)
src/transform/index.ts:53
Function
onwarn
()
tests/sourcemap.ts:14
Function
onwarn
(warning)
tests/fixture-helpers.ts:72
Function
options
(options)
src/index.ts:107
Function
options
({ onLog, ...options })
src/transform/index.ts:50
Function
outputOptions
(options)
src/transform/index.ts:71
Function
parseTypeOnlyName
(name: string)
src/transform/TypeOnlyFixer.ts:301
Function
plugin
(options = {})
src/index.ts:95
Function
readMap
(mapFile: string)
src/transform/sourcemap.ts:128
Function
renderChunk
(inputCode, chunk, options, meta)
src/transform/index.ts:139
Function
resolveId
(source)
rollup.config.ts:16
Function
resolveId
(source, importer)
src/index.ts:230
Method
size
()
tests/testcases/ts43-getset/expected.d.ts:4
Method
size
()
tests/testcases/ts43-getset/index.d.ts:4
Function
toRelativeSourcePathOrNull
(source: string | null)
src/transform/index.ts:280
Function
transform
(enableSourcemap: boolean)
src/transform/index.ts:34
Function
transformTypeOnlyExport
(node: ts.Node)
src/transform/preprocess.ts:453
Function
transformTypeOnlyImport
(node: ts.Node)
src/transform/preprocess.ts:406
← previous
101–179 of 179, ranked by callers