@types/webpack-sources
- Version 3.2.3
- Published
- 11.7 kB
- 3 dependencies
- MIT license
Install
npm i @types/webpack-sourcesyarn add @types/webpack-sourcespnpm add @types/webpack-sourcesOverview
TypeScript definitions for webpack-sources
Index
Interfaces
interface CachedData
interface CachedData {}property buffer
buffer?: Buffer | undefined;property cachedData
cachedData?: Map<any, any> | undefined;property size
size?: number | undefined;property source
source?: string | boolean | undefined;interface MapOptions
interface MapOptions {}interface Replacement
interface Replacement {}property content
readonly content: string;property end
readonly end: number;property insertIndex
readonly insertIndex: number;property name
readonly name: string;property start
readonly start: number;interface SourceAndMapMixin
interface SourceAndMapMixin {}method map
map: (options?: MapOptions) => RawSourceMap | null;Returns the SourceMap of the represented source code as JSON. May return
nullif no SourceMap is available.
method sourceAndMap
sourceAndMap: (options?: MapOptions) => SourceAndMapResult;Returns both, source code (like
Source.prototype.source()and SourceMap (likeSource.prototype.map()). This method could have better performance than callingsource()andmap()separately.
interface SourceAndMapResult
interface SourceAndMapResult {}Type Aliases
type SourceLike
type SourceLike = Partial< Pick< Source, 'source' | 'buffer' | 'size' | 'map' | 'sourceAndMap' | 'updateHash' >>;Package Files (2)
Dependencies (3)
Dev Dependencies (0)
No dev dependencies.
Peer Dependencies (0)
No peer dependencies.
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@types/webpack-sources.
- Markdown[](https://www.jsdocs.io/package/@types/webpack-sources)
- HTML<a href="https://www.jsdocs.io/package/@types/webpack-sources"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 1098 ms. - Missing or incorrect documentation? Open an issue for this package.
