Add bufferSize and includedRanges options to parse function in TS def (#63)
Add bufferSize and includedRanges options to parse function in TS def (#63)

* Fix the TypeScript definition of a Range

A Range contains:
- startIndex
- endIndex
- startPosition
- endPosition

* Add `bufferSize` and `includedRanges` to TS def

The function signature of `Parser.prototype.parse` defined in index.js
`Parser.prototype.parse = function(input, oldTree, {bufferSize,
includedRanges}={})` accepts a third optional parameter.
This commit reflects the signature in TypeScript definition.
tree-sitter/node-tree-sitter,maxbrunsfeld/node-tree-sitter,maxbrunsfeld/node-tree-sitter,tree-sitter/node-tree-sitter,maxbrunsfeld/node-tree-sitter,tree-sitter/node-tree-sitter