Add missing literal/constant properties in ICompiledExpression

As documented in https://docs.angularjs.org/api/ng/service/$parse
This commit is contained in:
Shahar Talmi authored and Shahar Talmi committed 2015-09-28 01:34:30 +03:00
1 parent b937e64fc9
commit ac1292d9fc
2 files changed
+20 -7

No files matched your search

+3
View File
@@ -910,6 +910,9 @@ declare module angular {
interface ICompiledExpression {
(context: any, locals?: any): any;
literal: boolean;
constant: boolean;
// If value is not provided, undefined is gonna be used since the implementation
// does not check the parameter. Let's force a value for consistency. If consumer
// whants to undefine it, pass the undefined value explicitly.