Skip to content

Commit

Permalink
fix: proper type declaration for count attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey Panov committed Oct 31, 2023
1 parent dd7220f commit 58661a8
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 58661a8

Please # to comment.