Skip to content

Commit

Permalink
chore: update internal AstroGlobal types
Browse files Browse the repository at this point in the history
  • Loading branch information
Nate Moore committed Mar 2, 2022
1 parent c2df62f commit 8852876
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/astro/src/@types/astro.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export interface AstroGlobal extends AstroGlobalPartial {
params: Params;
};
/** see if slots are used */
slots: Record<string, true | undefined>;
slots: Record<string, true | undefined> & { has(slotName: string): boolean; render(slotName: string): Promise<string> };
}

export interface AstroGlobalPartial {
Expand Down

0 comments on commit 8852876

Please sign in to comment.