Remove useless null

GeoJsonProperties is a union type containing null...
This commit is contained in:
denis
2018-02-28 23:17:10 +01:00
parent 9db7bc6088
commit 731fbb40fa
+1 -1
View File
@@ -160,7 +160,7 @@ export interface Feature<G extends GeometryObject | null, P = GeoJsonProperties>
* A collection of feature objects.
* https://tools.ietf.org/html/rfc7946#section-3.3
*/
export interface FeatureCollection<G extends GeometryObject | null, P = GeoJsonProperties | null> extends GeoJsonObject {
export interface FeatureCollection<G extends GeometryObject | null, P = GeoJsonProperties> extends GeoJsonObject {
type: "FeatureCollection";
features: Array<Feature<G, P>>;
}