angular.meta library

Utilities and metadata annotations for static analysis purposes.

Functions

castCallback1ForDirective<T, A>(T callback(A)) → T Function(dynamic)
Wraps a typed callback with a single parameter of type A. [...]
castCallback2ForDirective<T, A, B>(T callback(A, B)) → T Function(dynamic dynamic)
Wraps a typed callback with two parameters of types A and B. [...]