Do not document object literals as interfaces
Instead, object literals with properties that should not be renamed can go in externs/olx.js.
This commit is contained in:
@@ -22,7 +22,7 @@ ol.animation.bounce = function(options) {
|
||||
return (
|
||||
/**
|
||||
* @param {ol.Map} map Map.
|
||||
* @param {?oli.FrameState} frameState Frame state.
|
||||
* @param {?olx.FrameState} frameState Frame state.
|
||||
*/
|
||||
function(map, frameState) {
|
||||
if (frameState.time < start) {
|
||||
@@ -59,7 +59,7 @@ ol.animation.pan = function(options) {
|
||||
return (
|
||||
/**
|
||||
* @param {ol.Map} map Map.
|
||||
* @param {?oli.FrameState} frameState Frame state.
|
||||
* @param {?olx.FrameState} frameState Frame state.
|
||||
*/
|
||||
function(map, frameState) {
|
||||
if (frameState.time < start) {
|
||||
@@ -99,7 +99,7 @@ ol.animation.rotate = function(options) {
|
||||
return (
|
||||
/**
|
||||
* @param {ol.Map} map Map.
|
||||
* @param {?oli.FrameState} frameState Frame state.
|
||||
* @param {?olx.FrameState} frameState Frame state.
|
||||
*/
|
||||
function(map, frameState) {
|
||||
if (frameState.time < start) {
|
||||
@@ -141,7 +141,7 @@ ol.animation.zoom = function(options) {
|
||||
return (
|
||||
/**
|
||||
* @param {ol.Map} map Map.
|
||||
* @param {?oli.FrameState} frameState Frame state.
|
||||
* @param {?olx.FrameState} frameState Frame state.
|
||||
*/
|
||||
function(map, frameState) {
|
||||
if (frameState.time < start) {
|
||||
|
||||
Reference in New Issue
Block a user