view2d.center initialized to null 

The `center` property is initialized to `null` if no value is provided in the `options` but it must be `undefined` instead (set `getCenter` and `setCenter` type annotations)