mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-24 11:50:59 +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:
1 parent
b937e64fc9
commit
ac1292d9fc
2 files changed
+20
-7
No files matched your search
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