Explorar o código

Fix eslint issue in FeatureTable

Stelios Vitalis %!s(int64=4) %!d(string=hai) anos
pai
achega
e882da6a73
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/utilities/FeatureTable.js

+ 1 - 1
src/utilities/FeatureTable.js

@@ -55,7 +55,7 @@ export class FeatureTable {
 			const featureType = feature.type || defaultType;
 			const featureComponentType = feature.componentType || defaultComponentType;
 
-			if ( 'type' in feature && defaultType && feature.type !== defaultType) {
+			if ( 'type' in feature && defaultType && feature.type !== defaultType ) {
 
 				throw new Error( 'FeatureTable: Specified type does not match expected type.' );