@@ -41,7 +41,7 @@ export class GlobalPositionStrategy implements PositionStrategy {
4141 * Sets the top position of the overlay. Clears any previously set vertical position.
4242 * @param value New top offset.
4343 */
44- top ( value = '' ) : this {
44+ top ( value : string = '' ) : this {
4545 this . _bottomOffset = '' ;
4646 this . _topOffset = value ;
4747 this . _alignItems = 'flex-start' ;
@@ -52,7 +52,7 @@ export class GlobalPositionStrategy implements PositionStrategy {
5252 * Sets the left position of the overlay. Clears any previously set horizontal position.
5353 * @param value New left offset.
5454 */
55- left ( value = '' ) : this {
55+ left ( value : string = '' ) : this {
5656 this . _rightOffset = '' ;
5757 this . _leftOffset = value ;
5858 this . _justifyContent = 'flex-start' ;
@@ -63,7 +63,7 @@ export class GlobalPositionStrategy implements PositionStrategy {
6363 * Sets the bottom position of the overlay. Clears any previously set vertical position.
6464 * @param value New bottom offset.
6565 */
66- bottom ( value = '' ) : this {
66+ bottom ( value : string = '' ) : this {
6767 this . _topOffset = '' ;
6868 this . _bottomOffset = value ;
6969 this . _alignItems = 'flex-end' ;
@@ -74,7 +74,7 @@ export class GlobalPositionStrategy implements PositionStrategy {
7474 * Sets the right position of the overlay. Clears any previously set horizontal position.
7575 * @param value New right offset.
7676 */
77- right ( value = '' ) : this {
77+ right ( value : string = '' ) : this {
7878 this . _leftOffset = '' ;
7979 this . _rightOffset = value ;
8080 this . _justifyContent = 'flex-end' ;
@@ -85,7 +85,7 @@ export class GlobalPositionStrategy implements PositionStrategy {
8585 * Sets the overlay width and clears any previously set width.
8686 * @param value New width for the overlay
8787 */
88- width ( value = '' ) : this {
88+ width ( value : string = '' ) : this {
8989 this . _width = value ;
9090
9191 // When the width is 100%, we should reset the `left` and the offset,
@@ -101,7 +101,7 @@ export class GlobalPositionStrategy implements PositionStrategy {
101101 * Sets the overlay height and clears any previously set height.
102102 * @param value New height for the overlay
103103 */
104- height ( value = '' ) : this {
104+ height ( value : string = '' ) : this {
105105 this . _height = value ;
106106
107107 // When the height is 100%, we should reset the `top` and the offset,
@@ -119,7 +119,7 @@ export class GlobalPositionStrategy implements PositionStrategy {
119119 *
120120 * @param offset Overlay offset from the horizontal center.
121121 */
122- centerHorizontally ( offset = '' ) : this {
122+ centerHorizontally ( offset : string = '' ) : this {
123123 this . left ( offset ) ;
124124 this . _justifyContent = 'center' ;
125125 return this ;
@@ -131,7 +131,7 @@ export class GlobalPositionStrategy implements PositionStrategy {
131131 *
132132 * @param offset Overlay offset from the vertical center.
133133 */
134- centerVertically ( offset = '' ) : this {
134+ centerVertically ( offset : string = '' ) : this {
135135 this . top ( offset ) ;
136136 this . _alignItems = 'center' ;
137137 return this ;
0 commit comments