Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions lib/options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,11 @@ export interface Options extends DeprecatedOptions {
sourceRoot?: string | null;

/**
* If you provide a source map that was generated from a previous call
* to recast.print as options.inputSourceMap, the old source map will be
* composed with the new source map.
* If a source map is provided here, it will be composed with the new source
* map. The input source map can be provided as a JSON string or as an object.
* @default null
*/
inputSourceMap?: string | null;
inputSourceMap?: string | any | null;

/**
* If you want esprima to generate .range information (recast only uses
Expand Down