Skip to content

Commit

Permalink
chore: resolve review comments
Browse files Browse the repository at this point in the history
Co-authored-by: Nate Moore <7118177+natemoo-re@users.noreply.github.com>
  • Loading branch information
alexanderniebuhr and natemoo-re committed Dec 2, 2023
1 parent 2a4b195 commit 032adb0
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions packages/astro/src/@types/astro.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2506,14 +2506,6 @@ export interface ClientDirectiveConfig {
entrypoint: string;
}

export interface DevOverlayPlugin {
id: string;
name: string;
icon: Icon;
init?(canvas: ShadowRoot, eventTarget: EventTarget): void | Promise<void>;
beforeTogglingOff?(canvas: ShadowRoot): boolean | Promise<boolean>;
}

export interface DevToolbarApp {
id: string;
name: string;
Expand All @@ -2522,6 +2514,8 @@ export interface DevToolbarApp {
beforeTogglingOff?(canvas: ShadowRoot): boolean | Promise<boolean>;
}

export type DevOverlayPlugin = DevToolbarApp;

export type DevOverlayMetadata = Window &
typeof globalThis & {
__astro_dev_overlay__: {
Expand Down

0 comments on commit 032adb0

Please sign in to comment.