[ci] yarn format
This commit is contained in:
parent
f9cd031033
commit
69272dc8d1
6 changed files with 10 additions and 11 deletions
|
@ -7,6 +7,8 @@
|
||||||
// You can disable this by removing "@ts-check" and `@type` comments below.
|
// You can disable this by removing "@ts-check" and `@type` comments below.
|
||||||
|
|
||||||
// @ts-check
|
// @ts-check
|
||||||
export default /** @type {import('astro').AstroUserConfig} */ ({
|
export default /** @type {import('astro').AstroUserConfig} */ (
|
||||||
|
{
|
||||||
// ...
|
// ...
|
||||||
});
|
}
|
||||||
|
);
|
||||||
|
|
|
@ -15,7 +15,6 @@ export interface ManifestData {
|
||||||
routes: RouteData[];
|
routes: RouteData[];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
export interface JsxItem {
|
export interface JsxItem {
|
||||||
name: string;
|
name: string;
|
||||||
jsx: string;
|
jsx: string;
|
||||||
|
|
|
@ -81,7 +81,6 @@ export interface AstroUserConfig {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// NOTE(fks): We choose to keep our hand-generated AstroUserConfig interface so that
|
// NOTE(fks): We choose to keep our hand-generated AstroUserConfig interface so that
|
||||||
// we can add JSDoc-style documentation and link to the definition file in our repo.
|
// we can add JSDoc-style documentation and link to the definition file in our repo.
|
||||||
// However, Zod comes with the ability to auto-generate AstroConfig from the schema
|
// However, Zod comes with the ability to auto-generate AstroConfig from the schema
|
||||||
|
|
|
@ -44,7 +44,6 @@ export function validateGetStaticPathsResult(result: GetStaticPathsResult, loggi
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/** Add / to beginning of string (but don’t double-up) */
|
/** Add / to beginning of string (but don’t double-up) */
|
||||||
export function addLeadingSlash(path: string) {
|
export function addLeadingSlash(path: string) {
|
||||||
return path.replace(/^\/?/, '/');
|
return path.replace(/^\/?/, '/');
|
||||||
|
|
Loading…
Reference in a new issue