mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-24 11:50:59 +08:00
Updates IComponentOptions for angular 1.5 components
As per https://docs.angularjs.org/guide/component components does not support restrict or isolate but they do require
This commit is contained in:
1 parent
c393f8974d
commit
7b8b362742
1 file changed
+5
-13
Vendored
+5
-13
@@ -1710,20 +1710,12 @@ declare module angular {
|
||||
* Define DOM attribute binding to component properties. Component properties are always bound to the component
|
||||
* controller and not to the scope.
|
||||
*/
|
||||
bindings?: any;
|
||||
bindings?: Object;
|
||||
/**
|
||||
* Whether transclusion is enabled. Enabled by default.
|
||||
*/
|
||||
transclude?: boolean;
|
||||
/**
|
||||
* Whether the new scope is isolated. Isolated by default.
|
||||
*/
|
||||
isolate?: boolean;
|
||||
/**
|
||||
* String of subset of EACM which restricts the component to specific directive declaration style. If omitted,
|
||||
* this defaults to 'E'.
|
||||
*/
|
||||
restrict?: string;
|
||||
require? : string | Array<string>;
|
||||
$canActivate?: () => boolean;
|
||||
$routeConfig?: RouteDefinition[];
|
||||
}
|
||||
@@ -1774,12 +1766,12 @@ declare module angular {
|
||||
name?: string;
|
||||
priority?: number;
|
||||
replace?: boolean;
|
||||
require?: any;
|
||||
require? : string | Array<string>;
|
||||
restrict?: string;
|
||||
scope?: any;
|
||||
template?: any;
|
||||
template?: string | Function;
|
||||
templateNamespace?: string;
|
||||
templateUrl?: any;
|
||||
templateUrl?: string | Function;
|
||||
terminal?: boolean;
|
||||
transclude?: any;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user