Skip to content

Commit a98ce3c

Browse files
ascorbicastrobot-houston
authored andcommitted
[ci] format
1 parent a31edb8 commit a98ce3c

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

packages/astro/src/assets/fonts/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ export interface FontData {
108108
src: Array<{ url: string; format?: string; tech?: string }>;
109109
weight?: string;
110110
style?: string;
111-
};
111+
}
112112

113113
/**
114114
* Holds associations of CSS variables and font data to be exposed via virtual module.

packages/astro/src/core/config/schemas/base.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ import { allowedDirectivesSchema, cspAlgorithmSchema, cspHashSchema } from '../.
3434

3535
/** @lintignore */
3636
// eslint-disable-next-line @typescript-eslint/no-empty-object-type
37-
export interface ComplexifyUnionObj { }
37+
export interface ComplexifyUnionObj {}
3838

3939
type ComplexifyWithUnion<T> = T & ComplexifyUnionObj;
4040
type ComplexifyWithOmit<T> = Omit<T, '__nonExistent'>;

packages/integrations/react/src/actions.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,7 @@ export function withState<T>(action: FormFn<T>) {
4444
* Retrieve the state object from your action handler when using `useActionState()`.
4545
* To ensure this state is retrievable, use the {@linkcode withState} helper.
4646
*/
47-
export async function getActionState<T>({
48-
request,
49-
}: {
50-
request: Request;
51-
}): Promise<T> {
47+
export async function getActionState<T>({ request }: { request: Request }): Promise<T> {
5248
const contentType = request.headers.get('Content-Type');
5349
if (!contentType || !isFormRequest(contentType)) {
5450
throw new AstroError(

0 commit comments

Comments
 (0)