External module "sourceMap"
Type aliases
SourceMapData
Functions
createSourceMappingURLComment
- createSourceMappingURLComment(sourceMapURL: string, singleLineComment?: boolean): string
-
Parameters
-
sourceMapURL: string
-
Optional singleLineComment: boolean
Returns string
createSourceURLComment
- createSourceURLComment(sourceMapURL: string): string
-
Parameters
Returns string
getSourceMappingURL
- getSourceMappingURL(content: string): string
-
Parameters
Returns string
setSourceMappingURL
- setSourceMappingURL(content: string, sourceMapURL: string | null, singleLineComment?: boolean): string
-
Parameters
-
content: string
-
sourceMapURL: string | null
-
Optional singleLineComment: boolean
Returns string
toSourceMapBuilder
-
Parameters
toSourceMapObject
-
Parameters
toSourceMapString
-
Parameters
Returns string
表示一个源映射(Source Map)数据,可以是一个字符串、对象或生成器