Skip to content

Commit

Permalink
Merge pull request #117 from jansule/remove-constructable
Browse files Browse the repository at this point in the history
Remove constructable
  • Loading branch information
jansule authored Apr 2, 2019
2 parents 9c32539 + cfbab0f commit b622f1e
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,11 @@ export interface UnsupportedProperties {
* Interface, which has to be implemented by all GeoStyler style parser classes.
*/
export interface StyleParser {
/**
* The name of the Parser
*/
title: string;

/**
* Parses the inputStyle and transforms it to the GeoStyler Style
*
Expand Down Expand Up @@ -447,13 +452,3 @@ export interface StyleParser {
unsupportedProperties?: UnsupportedProperties;
}

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

0 comments on commit b622f1e

Please sign in to comment.