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
2015-09-28 01:34:30 +03:00
committed by Shahar Talmi
parent b937e64fc9
commit ac1292d9fc
2 changed files with 20 additions and 7 deletions
+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.