Skip to content

Commit bdadf98

Browse files
committed
fix flow
1 parent 3cc81d7 commit bdadf98

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/geo/transform.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ class Transform {
6161
this._minZoom = minZoom || 0;
6262
this._maxZoom = maxZoom || 22;
6363

64-
this._minPitch = typeof minPitch === "undefined" ? 0 : minPitch;
65-
this._maxPitch = typeof maxPitch === "undefined" ? 60 : maxPitch;
64+
this._minPitch = minPitch === undefined ? 0 : minPitch;
65+
this._maxPitch = maxPitch === undefined ? 60 : maxPitch;
6666

6767
this.setMaxBounds();
6868

0 commit comments

Comments
 (0)