MCPcopy Create free account

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

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

↓ 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:599
↓ 1 callersFunctionloadInputSourcemap
(info: SourcemapInfo)
src/transform/sourcemap.ts:107
↓ 1 callersFunctionmain
()
tests/index.ts:8
↓ 1 callersFunctionpatchConsoleError
()
tests/utils.ts:25
↓ 1 callersFunctionpreProcessNamespaceBody
(body: ts.ModuleBlock | ts.ModuleDeclaration, code: MagicString, sourceFile: ts.SourceFile)
src/transform/preprocess.ts:23
↓ 1 callersMethodremoveStatement
(node: ts.Node)
src/transform/Transformer.ts:109
↓ 1 callersFunctionresolveDefaultOptions
(options: Options)
src/options.ts:34
↓ 1 callersMethodrun
(argv: Array<string>)
tests/utils.ts:44
↓ 1 callersFunctionstripResolvedModuleComment
Strip the resolved module marker comment.
src/transform/ModuleDeclarationFixer.ts:21
↓ 1 callersFunctiontoRelativeSourcePath
(source: string)
src/transform/index.ts:269
↓ 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 callersFunctionwithInput
(dir: string, { input }: InputOptions)
tests/testcases.ts:83
FunctionaddNumber
(value, value2)
tests/testcases/issue-101-allow-js/index.js:1
FunctionbuildStart
()
src/transform/index.ts:42
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:38
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:199
FunctiononLog
(level, log, defaultHandler)
src/transform/index.ts:52
Functiononwarn
()
tests/sourcemap.ts:14
Functiononwarn
()
tests/testcases.ts:73
Functionoptions
(options)
src/index.ts:107
Functionoptions
({ onLog, ...options })
src/transform/index.ts:49
FunctionoutputOptions
(options)
src/transform/index.ts:70
FunctionparseTypeOnlyName
(name: string)
src/transform/TypeOnlyFixer.ts:293
Functionplugin
(options = {})
src/index.ts:95
FunctionreadMap
(mapFile: string)
src/transform/sourcemap.ts:128
FunctionrenderChunk
(inputCode, chunk, options, meta)
src/transform/index.ts:138
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:274
Functiontransform
(enableSourcemap: boolean)
src/transform/index.ts:33
FunctiontransformTypeOnlyExport
(node: ts.Node)
src/transform/preprocess.ts:448
FunctiontransformTypeOnlyImport
(node: ts.Node)
src/transform/preprocess.ts:401
← previous101–146 of 146, ranked by callers