Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
maximizeIT committed Jun 28, 2024
1 parent 006cf4d commit 068158e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion samples/weather-forecast/dev/widget-api-mock/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const apiMock: WidgetApi = {
getUserInformation,
getUserList,
getUserInformationByExternalId,
getIntegration
getIntegration,
};

export default apiMock;
5 changes: 4 additions & 1 deletion samples/weather-forecast/dev/widget-api-mock/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,10 @@ export const getUserInformationByExternalId = async (
export const getUserList = async (
_query: UserListRequestQuery
): Promise<UserListResponse> => ({
data: [user, {id: "5e43c6feca2d15e6afa8231d", firstName: "Tony", lastName: "Stark"}],
data: [
user,
{ id: "5e43c6feca2d15e6afa8231d", firstName: "Tony", lastName: "Stark" },
],
offset: 0,
limit: 1,
total: 1,
Expand Down
6 changes: 4 additions & 2 deletions samples/weather-forecast/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const widgetAttributes: string[] = [
"date",
"text",
"apikey",
"fahrenheit"
"fahrenheit",
];

/**
Expand Down Expand Up @@ -72,7 +72,9 @@ const factory: BlockFactory = (BaseBlockClass, _widgetApi) => {
* Callback invoked on every change of an observed attribute. Call the parental method before
* applying own logic.
*/
public attributeChangedCallback(...args: [string, string | undefined, string | undefined]): void {
public attributeChangedCallback(
...args: [string, string | undefined, string | undefined]
): void {
super.attributeChangedCallback.apply(this, args);
}
};
Expand Down

0 comments on commit 068158e

Please sign in to comment.