Better array typing

This commit is contained in:
Frederic Junod
2018-05-16 10:06:17 +02:00
parent 104a9a56e9
commit 972781ea9d
6 changed files with 7 additions and 7 deletions

View File

@@ -66,7 +66,7 @@ inherits(GPX, XMLFeature);
/**
* @const
* @type {Array.<string>}
* @type {Array.<null|string>}
*/
const NAMESPACE_URIS = [
null,

View File

@@ -324,7 +324,7 @@ const GX_NAMESPACE_URIS = [
/**
* @const
* @type {Array.<string>}
* @type {Array.<null|string>}
*/
const NAMESPACE_URIS = [
null,

View File

@@ -38,7 +38,7 @@ inherits(OSMXML, XMLFeature);
/**
* @const
* @type {Array.<string>}
* @type {Array.<null>}
*/
const NAMESPACE_URIS = [null];

View File

@@ -20,7 +20,7 @@ inherits(OWS, XML);
/**
* @const
* @type {Array.<string>}
* @type {Array.<null|string>}
*/
const NAMESPACE_URIS = [null, 'http://www.opengis.net/ows/1.1'];

View File

@@ -32,7 +32,7 @@ inherits(WMSCapabilities, XML);
/**
* @const
* @type {Array.<string>}
* @type {Array.<null|string>}
*/
const NAMESPACE_URIS = [
null,

View File

@@ -33,7 +33,7 @@ inherits(WMTSCapabilities, XML);
/**
* @const
* @type {Array.<string>}
* @type {Array.<null|string>}
*/
const NAMESPACE_URIS = [
null,
@@ -43,7 +43,7 @@ const NAMESPACE_URIS = [
/**
* @const
* @type {Array.<string>}
* @type {Array.<null|string>}
*/
const OWS_NAMESPACE_URIS = [
null,