@types/esprima
Advanced tools
Comparing version 4.0.0 to 4.0.1
@@ -10,6 +10,10 @@ // Type definitions for Esprima 4.0 | ||
export function parseScript(input: string, config?: ParseOptions, delegate?: (node: ESTree.Node, meta: any) => void): ESTree.Program; | ||
export function parseModule(input: string, config?: ParseOptions, delegate?: (node: ESTree.Node, meta: any) => void): ESTree.Program; | ||
export function parseScript(input: string, config?: ParseOptions, delegate?: (node: ESTree.Node, meta: any) => void): Program; | ||
export function parseModule(input: string, config?: ParseOptions, delegate?: (node: ESTree.Node, meta: any) => void): Program; | ||
export function tokenize(input: string, config?: TokenizeOptions): Token[]; | ||
export interface Program extends ESTree.Program { | ||
tokens?: Token[]; | ||
} | ||
export interface Token { | ||
@@ -16,0 +20,0 @@ type: string; |
{ | ||
"name": "@types/esprima", | ||
"version": "4.0.0", | ||
"version": "4.0.1", | ||
"description": "TypeScript definitions for Esprima", | ||
@@ -32,4 +32,4 @@ "license": "MIT", | ||
}, | ||
"typesPublisherContentHash": "d6fe4fe5bb148ecef7ec4fc201d8d87ddd72f8d0fd32e0736ceeadb80b28cd55", | ||
"typesPublisherContentHash": "e98814f35e48f656e17e4c5f2e571a757509be1d429bebcd8ca32d42181b51de", | ||
"typeScriptVersion": "2.0" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Thu, 31 Aug 2017 14:05:16 GMT | ||
* Last updated: Mon, 18 Sep 2017 14:08:00 GMT | ||
* Dependencies: estree | ||
@@ -14,0 +14,0 @@ * Global values: none |
6595
98