Skip to content

Commit

Permalink
fix(layer): type is not optional
Browse files Browse the repository at this point in the history
fix #4
  • Loading branch information
Wykks committed Nov 17, 2017
1 parent ac8172e commit b9edaac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/lib/layer/layer.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export class LayerComponent implements OnInit, OnDestroy, OnChanges, Layer {
/* Init inputs */
@Input() id: string;
@Input() source?: string | VectorSource | RasterSource | GeoJSONSource | ImageSource | VideoSource | GeoJSONSourceRaw;
@Input() type?: 'symbol' | 'fill' | 'line' | 'circle' | 'fill-extrusion' | 'raster' | 'background';
@Input() type: 'symbol' | 'fill' | 'line' | 'circle' | 'fill-extrusion' | 'raster' | 'background';
@Input() metadata?: any;
@Input() sourceLayer?: string;

Expand Down

0 comments on commit b9edaac

Please sign in to comment.