Skip to content

Commit

Permalink
Merge pull request #630 from littleredridingfox/fix-count-type-declar…
Browse files Browse the repository at this point in the history
…ations

fix: proper type declaration for `count` attribute
  • Loading branch information
ro0gr committed Oct 31, 2023
2 parents dd7220f + 58661a8 commit 35ab147
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addon/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ declare module 'ember-cli-page-object' {
export function hasClass(className: string, scope?: string, options?: FindOptions): GetterDescriptor<boolean>;
export function notHasClass(className: string, scope?: string, options?: FindOptions): GetterDescriptor<boolean>;
export function contains(scope?: string, options?: FindOptions): (text: string) => GetterDescriptor<boolean>;
export function count(scope?: string, options?: FindOptions): () => GetterDescriptor<boolean>;
export function count(scope?: string, options?: FindOptions): GetterDescriptor<number>;

// Actions
export function clickable(scope?: string, userOptions?: FindOptions): MethodDescriptor<<T>(this: T) => T>;
Expand Down

0 comments on commit 35ab147

Please # to comment.