Update angular-estree-parser to v6 (#14263)
This commit is contained in:
1 parent
3cec460008
commit
6d7cdbaf98
3 files changed
+10
-10
No files matched your search
Vendored
+2
-2
@@ -1,7 +1,7 @@
|
||||
import { locStart, locEnd } from "../loc.js";
|
||||
|
||||
/**
|
||||
* @param {"parseAction" | "parseBinding" | "parseInterpolation" | "parseTemplateBindings"} parseMethod
|
||||
* @param {"parseAction" | "parseBinding" | "parseInterpolationExpression" | "parseTemplateBindings"} parseMethod
|
||||
*/
|
||||
function createParser(parseMethod) {
|
||||
const parse = async (text) => {
|
||||
@@ -24,7 +24,7 @@ const parser = {
|
||||
parsers: {
|
||||
__ng_action: createParser("parseAction"),
|
||||
__ng_binding: createParser("parseBinding"),
|
||||
__ng_interpolation: createParser("parseInterpolation"),
|
||||
__ng_interpolation: createParser("parseInterpolationExpression"),
|
||||
__ng_directive: createParser("parseTemplateBindings"),
|
||||
},
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user