Skip to content

Commit

Permalink
remove constructable
Browse files Browse the repository at this point in the history
  • Loading branch information
jansule committed Apr 2, 2019
1 parent 9d34a03 commit cfbab0f
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 @@ -356,6 +356,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 @@ -439,13 +444,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 cfbab0f

Please sign in to comment.