Skip to content

Commit

Permalink
Merge pull request #93 from KaiVolland/remove-constructable
Browse files Browse the repository at this point in the history
Removes constructable
  • Loading branch information
KaiVolland authored Apr 8, 2019
2 parents 3e6d02a + 961b99e commit b7295f5
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,10 @@ export type Data = RasterData | VectorData;
* Interface, which has to be implemented by all GeoStyler parser classes.
*/
export interface DataParser {
/**
* The name of the Parser instance
*/
title: string;
/**
* Optional projection of the input data,
* e.g. 'EPSG:4326'
Expand All @@ -172,14 +176,3 @@ export interface DataParser {
*/
readData(inputData: any): Promise<Data>;
}

export interface DataParserConstructable extends DataParser {
/**
* Constructor interface
*/
new(): DataParser;
/**
* The name of the Parser instance
*/
title: string;
}

0 comments on commit b7295f5

Please sign in to comment.