Skip to content

Commit

Permalink
style: format
Browse files Browse the repository at this point in the history
  • Loading branch information
jpoehnelt committed Dec 6, 2024
1 parent 91ac3bc commit f41fcfb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/drive-picker/drive-picker-element.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ type DrivePickerEventDetail = google.picker.ResponseObject & {

declare global {
interface GlobalEventHandlersEventMap {
"picker:authenticated": CustomEvent<{token: string}>;
"picker:authenticated": CustomEvent<{ token: string }>;
"picker:canceled": CustomEvent<DrivePickerEventDetail>;
"picker:picked": CustomEvent<DrivePickerEventDetail>;
"picker:loaded": CustomEvent<DrivePickerEventDetail>;
Expand Down Expand Up @@ -188,7 +188,7 @@ export class DrivePickerElement extends HTMLElement {
"https://www.googleapis.com/auth/drive.file",
).then((token) => {
this.dispatchEvent(
new CustomEvent("picker:authenticated", { detail: {token} }),
new CustomEvent("picker:authenticated", { detail: { token } }),
);
return token;
}));
Expand Down

0 comments on commit f41fcfb

Please sign in to comment.