mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-24 11:50:59 +08:00
Merge pull request #6247 from ericvw/acorn_updates
acorn: Add `getLineInfo()` function type defintion
This commit is contained in:
commit
a04878c666
1 file changed
+1
Vendored
+1
@@ -9,6 +9,7 @@ declare module acorn {
|
||||
var version: string;
|
||||
function parse(input: string, options?: Options): ESTree.Program;
|
||||
function parseExpressionAt(input: string, pos: number, options?: Options): ESTree.Expression;
|
||||
function getLineInfo(input: string, offset: number): ESTree.Position;
|
||||
var defaultOptions: Options;
|
||||
|
||||
interface TokenType {
|
||||
|
||||
Reference in new issue
Block a user