Skip to content

Commit

Permalink
Autofix: tslint
Browse files Browse the repository at this point in the history
[atomist:generated] [atomist:autofix=tslint]
  • Loading branch information
atomist-bot committed Jan 10, 2019
1 parent c5ec5ef commit 5ddb283
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/Microgrammar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,15 +142,18 @@ export class Microgrammar<T> implements Term {
* @return {Microgrammar<T>}
*/
public static fromStringAs<T = any>(spec: string,
components: TermsDefinition<T> = {} as any,
options: FromStringOptions = {}): Microgrammar<AnyKeysOf<T>> {
components: TermsDefinition<T> = {} as any,
options: FromStringOptions = {}): Microgrammar<AnyKeysOf<T>> {
return this.fromString(spec, components, options);
}

public readonly $id: string;

public readonly definitions = this.matcher.definitions;

constructor(public matcher: Concatenation) {
}

/**
* Generator for matching the given input.
* @param {string | InputStream} input
Expand All @@ -162,9 +165,6 @@ export class Microgrammar<T> implements Term {
return matchesIn(this, input, parseContext, l);
}

constructor(public matcher: Concatenation) {
}

/**
* Convenience method to find matches without the ability to update them
* @param input
Expand Down

0 comments on commit 5ddb283

Please sign in to comment.