chore(client): fix several type errors (#58500)

This commit is contained in:
Oliver Eyton-Williams
2025-01-31 17:25:43 +01:00
committed by GitHub
parent acfabb69de
commit 1738b1f05f
20 changed files with 147 additions and 99 deletions
+1
View File
@@ -3,6 +3,7 @@ declare global {
// This is a feature Gatsby adds to the `window` object.
// https://github.com/gatsbyjs/gatsby/blob/deb41cdfefbefe0c170b5dd7c10a19ba2b338f6e/packages/gatsby/cache-dir/production-app.js#L28
___loader: {
enqueue: () => void;
hovering: (path: string | null) => void;
};
}
@@ -31,6 +31,7 @@ function getComponentNameAndProps(
const LayoutReactComponent = layoutSelector({
element: { type: elementType, props: {}, key: '' },
props: {
data: {},
location: {
pathname
},