Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbonnet committed Apr 1, 2017
1 parent a55b0b2 commit b2dec09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ When used in a browser environment, the module exposes a global variable `astrin

The `astring` module exposes the following properties:

### `generate(node: object, options: object) -> string`
### `generate(node: object, options: object): string | stream`

Returns a string representing the rendered code of the provided AST `node`. However, if an `output` stream is provided in the options, it writes to that stream and returns it.

Expand Down

0 comments on commit b2dec09

Please sign in to comment.