build: Use prettier for typescript
Stop ignoring .ts files in prettier and fix existing issues.
This commit is contained in:
@@ -37,11 +37,13 @@ export class PopoverArrowDirective implements OnDestroy {
|
||||
* @param {PopoverRef} popoverRef PopoverRef.
|
||||
* @param {ChangeDetectorRef} cd ChangeDetectorRef
|
||||
*/
|
||||
constructor(private popoverRef: PopoverRef,
|
||||
private cd: ChangeDetectorRef) {
|
||||
constructor(
|
||||
private popoverRef: PopoverRef,
|
||||
private cd: ChangeDetectorRef
|
||||
) {
|
||||
this.arrowSize = popoverRef.config.arrowSize;
|
||||
|
||||
this.subscription = popoverRef.positionChanges().subscribe(p => {
|
||||
this.subscription = popoverRef.positionChanges().subscribe((p) => {
|
||||
const { offsetX, offsetY } = p.connectionPair;
|
||||
|
||||
this.offsetTop = offsetY >= 0 ? offsetY * -1 : null;
|
||||
|
||||
Reference in New Issue
Block a user