mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Add missing literal/constant properties in ICompiledExpression
As documented in https://docs.angularjs.org/api/ng/service/$parse
This commit is contained in:
committed by
Shahar Talmi
parent
b937e64fc9
commit
ac1292d9fc
Vendored
+3
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user