MCPcopy Create free account

hub / github.com/Swatinem/rollup-plugin-dts / functions

Functions179 in github.com/Swatinem/rollup-plugin-dts

↓ 1 callersMethodfixTypeOnlyExport
(node: ExportDeclarationWithClause)
src/transform/TypeOnlyFixer.ts:122
↓ 1 callersMethodfixTypeOnlyImport
(node: ImportDeclarationWithClause)
src/transform/TypeOnlyFixer.ts:51
↓ 1 callersMethodformatChunkReference
* Format a chunk filename as a relative path from the current chunk.
src/transform/ModuleDeclarationFixer.ts:224
↓ 1 callersFunctionformatDiagnostic
(output: string, cwd: string)
tests/downstream-helpers.ts:57
↓ 1 callersFunctionformatUnresolvedSharedTypeWarning
(chunkFileName: string, symbols: Set<string>)
src/transform/sharedChunkPortability.ts:401
↓ 1 callersFunctionframeNode
(node: ts.Node)
src/transform/errors.ts:30
↓ 1 callersFunctiongenerateDts
()
src/index.ts:171
↓ 1 callersFunctiongetAugmentedNames
Collect the names declared at the top level of an augmentation body.
src/transform/ModuleDeclarationFixer.ts:31
↓ 1 callersFunctiongetChunkRuntimeFileName
(fileName: string)
src/transform/sharedChunkPortability.ts:420
↓ 1 callersFunctiongetCodeFrame
()
src/transform/errors.ts:5
↓ 1 callersFunctiongetEnd
(node: ts.Node)
src/transform/preprocess.ts:694
↓ 1 callersFunctiongetExportSpecifierBinding
(element: ts.ExportSpecifier)
src/transform/TypeOnlyFixer.ts:282
↓ 1 callersFunctiongetLocation
(node: ts.Node)
src/transform/errors.ts:20
↓ 1 callersFunctiongetNameBinding
(sourceName: string, targetName: string)
src/transform/preprocess.ts:682
↓ 1 callersFunctiongetPackageExportKeys
(fileName: string)
tests/downstream-helpers.ts:48
↓ 1 callersFunctiongetRuntimeFileName
(fileName: string)
tests/downstream-helpers.ts:35
↓ 1 callersFunctiongetStart
(node: ts.Node)
src/transform/preprocess.ts:690
↓ 1 callersFunctionhandleDtsFile
()
src/index.ts:152
↓ 1 callersFunctionhasPublicHostRoute
(analysis: ChunkAnalysis, moduleSpecifier: string, importedName: string)
src/transform/sharedChunkPortability.ts:317
↓ 1 callersFunctionisGlobalModule
* 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 callersMethodisReExportTypeOnly
(name: string)
src/transform/TypeOnlyFixer.ts:272
↓ 1 callersMethodisUselessImport
(node: ts.Identifier)
src/transform/TypeOnlyFixer.ts:260
↓ 1 callersFunctionloadInputSourcemap
(info: SourcemapInfo)
src/transform/sourcemap.ts:107
↓ 1 callersFunctionloadTypeScript
()
src/typescript-shim.mjs:15
↓ 1 callersFunctionnormalizeChunkHashes
* Replace Rollup's content hashes in chunk filenames with stable sequential * placeholders so snapshot assertions work across Rollup versions. * *
tests/testcases.ts:28
↓ 1 callersFunctionpatchConsoleError
()
tests/utils.ts:25
↓ 1 callersFunctionpickHostCandidate
( entryChunks: OutputChunk[], analyses: Map<string, ChunkAnalysis>, currentChunkFileName: string, shar
src/transform/sharedChunkPortability.ts:270
↓ 1 callersFunctionpreProcessNamespaceBody
(body: ts.ModuleBlock | ts.ModuleDeclaration, code: MagicString, sourceFile: ts.SourceFile)
src/transform/preprocess.ts:23
↓ 1 callersFunctionpushNamedNode
(name: string, range: Range)
src/transform/preprocess.ts:577
↓ 1 callersMethodremoveStatement
(node: ts.Node)
src/transform/Transformer.ts:109
↓ 1 callersFunctionrenderTypeParams
(typeParameters?: ts.NodeArray<ts.TypeParameterDeclaration>)
src/transform/NamespaceFixer.ts:240
↓ 1 callersFunctionresolveDefaultOptions
(options: Options)
src/options.ts:34
↓ 1 callersFunctionrewritePortableSharedChunkImportsInBundle
( bundle: OutputBundle, warn: (message: string) => void, )
src/transform/sharedChunkPortability.ts:44
↓ 1 callersMethodrun
(argv: Array<string>)
tests/utils.ts:44
↓ 1 callersFunctionrunNode
(cwd: string, args: Array<string>)
tests/shim.ts:76
↓ 1 callersFunctionstripResolvedModuleComment
Strip the resolved module marker comment.
src/transform/ModuleDeclarationFixer.ts:21
↓ 1 callersFunctiontoRelativeSourcePath
(source: string)
src/transform/index.ts:275
↓ 1 callersMethodtrackExpressionReferences
(expr: ts.Expression, scope: DeclarationScope)
src/transform/Transformer.ts:208
↓ 1 callersFunctiontransform
(code, id)
src/index.ts:136
↓ 1 callersMethodtransform
()
src/transform/Transformer.ts:34
↓ 1 callersFunctiontreatTsAsDts
()
src/index.ts:161
↓ 1 callersFunctionunresolvedWarning
@param {string} specifier
tests/testcases/declare-relative-module-unresolved/meta.js:8
↓ 1 callersFunctionupdateSourcemapAsset
(bundle: OutputBundle, chunkFileName: string, data: SourcemapData)
src/transform/index.ts:410
↓ 1 callersFunctionwriteBlock
(codes: Array<string>)
src/transform/index.ts:394
↓ 1 callersFunctionwriteBundleAsPackage
(packageDir: string, output: RollupOutput["output"])
tests/downstream-helpers.ts:61
FunctionaddNumber
(value, value2)
tests/testcases/issue-101-allow-js/index.js:1
FunctionbuildStart
()
src/transform/index.ts:43
Methodconstructor
(fileName: string, rawCode: string)
src/transform/TypeOnlyFixer.ts:23
Methodconstructor
({ id, range }: DeclarationScopeOptions)
src/transform/DeclarationScope.ts:43
Methodconstructor
( chunk: RenderedChunk, code: MagicString, sourcemap: boolean, moduleToChunk: Map<string, stri
src/transform/ModuleDeclarationFixer.ts:92
Methodconstructor
(code: string)
src/transform/languageService.ts:7
Methodconstructor
(public sourceFile: ts.SourceFile)
src/transform/Transformer.ts:27
Methodconstructor
(private sourceFile: ts.SourceFile)
src/transform/NamespaceFixer.ts:36
Methodconstructor
(node: ts.Node, message: string = "Syntax not yet supported")
src/transform/errors.ts:49
Methodconstructor
()
tests/utils.ts:38
FunctionconvertTypeOnlyHintStatement
(node: ts.TypeAliasDeclaration)
src/transform/astHelpers.ts:218
Methodfoo
()
tests/testcases/type-simple/expected.d.ts:15
Methodfoo
()
tests/testcases/type-simple/index.d.ts:15
FunctiongenerateBundle
(options, bundle)
src/transform/index.ts:201
FunctionisOutputChunk
(chunk: { type: string })
src/transform/sharedChunkPortability.ts:268
FunctionisOutputChunk
(output: RollupOutput["output"][number])
tests/downstream-helpers.ts:31
FunctiononLog
(level, log, defaultHandler)
src/transform/index.ts:53
Functiononwarn
()
tests/sourcemap.ts:14
Functiononwarn
(warning)
tests/fixture-helpers.ts:72
Functionoptions
(options)
src/index.ts:107
Functionoptions
({ onLog, ...options })
src/transform/index.ts:50
FunctionoutputOptions
(options)
src/transform/index.ts:71
FunctionparseTypeOnlyName
(name: string)
src/transform/TypeOnlyFixer.ts:301
Functionplugin
(options = {})
src/index.ts:95
FunctionreadMap
(mapFile: string)
src/transform/sourcemap.ts:128
FunctionrenderChunk
(inputCode, chunk, options, meta)
src/transform/index.ts:139
FunctionresolveId
(source)
rollup.config.ts:16
FunctionresolveId
(source, importer)
src/index.ts:230
Methodsize
()
tests/testcases/ts43-getset/expected.d.ts:4
Methodsize
()
tests/testcases/ts43-getset/index.d.ts:4
FunctiontoRelativeSourcePathOrNull
(source: string | null)
src/transform/index.ts:280
Functiontransform
(enableSourcemap: boolean)
src/transform/index.ts:34
FunctiontransformTypeOnlyExport
(node: ts.Node)
src/transform/preprocess.ts:453
FunctiontransformTypeOnlyImport
(node: ts.Node)
src/transform/preprocess.ts:406
← previous101–179 of 179, ranked by callers