Commit c0b1aad3 by Gerard Paapu

Correct typeof reference in README

JavaScript's typeof operator returns "string" not "String" for string values and objects
parent 577ad466
...@@ -240,7 +240,7 @@ Type: `Boolean | String | undefined` ...@@ -240,7 +240,7 @@ Type: `Boolean | String | undefined`
Default: `undefined` Default: `undefined`
**Special:** Setting the `sourceMap` option requires also setting the `outFile` option **Special:** Setting the `sourceMap` option requires also setting the `outFile` option
Enables the outputting of a source map during `render` and `renderSync`. When `sourceMap === true`, the value of `outFile` is used as the target output location for the source map. When `typeof sourceMap === "String"`, the value of `sourceMap` will be used as the writing location for the file. Enables the outputting of a source map during `render` and `renderSync`. When `sourceMap === true`, the value of `outFile` is used as the target output location for the source map. When `typeof sourceMap === "string"`, the value of `sourceMap` will be used as the writing location for the file.
### sourceMapContents ### sourceMapContents
Type: `Boolean` Type: `Boolean`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment