docs(clang): format updates
This commit is contained in:
parent
b746e0c9f0
commit
dc060e8b64
@ -705,7 +705,8 @@ export class Directive extends Injectable {
|
|||||||
/**
|
/**
|
||||||
* Specifies a set of lifecycle hostListeners in which the directive participates.
|
* Specifies a set of lifecycle hostListeners in which the directive participates.
|
||||||
*
|
*
|
||||||
* See {@link annotations/onChange}, {@link annotations/onDestroy}, {@link annotations/onAllChangesDone} for details.
|
* See {@link annotations/onChange}, {@link annotations/onDestroy}, {@link
|
||||||
|
* annotations/onAllChangesDone} for details.
|
||||||
*/
|
*/
|
||||||
lifecycle: List<LifecycleEvent>;
|
lifecycle: List<LifecycleEvent>;
|
||||||
|
|
||||||
|
@ -78,8 +78,8 @@ export class TestBed {
|
|||||||
* @return {Promise<ViewProxy>}
|
* @return {Promise<ViewProxy>}
|
||||||
*/
|
*/
|
||||||
createView(component: Type,
|
createView(component: Type,
|
||||||
{context = null, html = null}: {context?: any,
|
{context = null,
|
||||||
html?: string} = {}): Promise<ViewProxy> {
|
html = null}: {context?: any, html?: string} = {}): Promise<ViewProxy> {
|
||||||
if (isBlank(component) && isBlank(context)) {
|
if (isBlank(component) && isBlank(context)) {
|
||||||
throw new BaseException('You must specified at least a component or a context');
|
throw new BaseException('You must specified at least a component or a context');
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user