Skip to content
This repository has been archived by the owner on Aug 14, 2021. It is now read-only.

Commit

Permalink
Fix a few compilation errors happening post-rebase.
Browse files Browse the repository at this point in the history
  • Loading branch information
lddubeau committed Apr 6, 2019
1 parent 7f9ba6e commit 3b5d22d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/default/helpers/relevant-flags.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const relevantFlagListWithExport =
*
* @returns The filtered array.
*/
export function relevantFlags(options: any): string[] {
export function relevantFlags(this: any, options: any): string[] {

// When excludeNotExported is set, we don't want to produce labels
// for "Exported" because everything is exported and thus the
Expand Down Expand Up @@ -60,6 +60,7 @@ export function relevantFlags(options: any): string[] {
*
* @returns Whether the flag is set.
*/
export function hasRelevantFlag(name: string, options: any): boolean {
export function hasRelevantFlag(this: any, name: string,
options: any): boolean {
return relevantFlags.call(this, options).indexOf(name) !== -1;
}

0 comments on commit 3b5d22d

Please sign in to comment.