refactor(docs-infra): fix docs examples for tslint rule no-angle-bracket-type-assertion
(#38143)
This commit updates the docs examples to be compatible with the `no-angle-bracket-type-assertion` tslint rule. This is in preparation of updating the docs examples `tslint.json` to match the one generated for new Angular CLI apps in a future commit. PR Close #38143
This commit is contained in:

committed by
Michael Prentice

parent
e9eeee5608
commit
a69cb738a8
@ -15,10 +15,10 @@ export class SpinnerService {
|
||||
constructor() { }
|
||||
|
||||
show() {
|
||||
this.spinnerSubject.next(<SpinnerState>{ show: true });
|
||||
this.spinnerSubject.next({ show: true });
|
||||
}
|
||||
|
||||
hide() {
|
||||
this.spinnerSubject.next(<SpinnerState>{ show: false });
|
||||
this.spinnerSubject.next({ show: false });
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user