Skip to content

Commit 322ad28

Browse files
authored
fix: fix up no-empty-object-type error 🦄 (#7912)
1 parent a797237 commit 322ad28

File tree

11 files changed

+11
-11
lines changed

11 files changed

+11
-11
lines changed

‎e2e/adapters-e2e/src/entry.express.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import { fileURLToPath } from 'node:url';
1717
import { join } from 'node:path';
1818

1919
declare global {
20-
interface QwikCityPlatform extends PlatformNode {}
20+
type QwikCityPlatform = PlatformNode;
2121
}
2222

2323
// Directories where the static assets are located

‎packages/insights/src/entry.netlify-edge.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import qwikCityPlan from '@qwik-city-plan';
1515
import render from './entry.ssr';
1616

1717
declare global {
18-
interface QwikCityPlatform extends PlatformNetlify {}
18+
type QwikCityPlatform = PlatformNetlify;
1919
}
2020

2121
export default createQwikCity({ render, qwikCityPlan, checkOrigin: false });

‎starters/adapters/aws-lambda/src/entry_aws-lambda.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import qwikCityPlan from "@qwik-city-plan";
1717
import render from "./entry.ssr";
1818

1919
declare global {
20-
interface QwikCityPlatform extends PlatformAwsLambda {}
20+
type QwikCityPlatform = PlatformAwsLambda;
2121
}
2222

2323
export const { handle } = createQwikCity({ render, qwikCityPlan });

‎starters/adapters/azure-swa/src/entry.azure-swa.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import qwikCityPlan from "@qwik-city-plan";
1515
import render from "./entry.ssr";
1616

1717
declare global {
18-
interface QwikCityPlatform extends PlatformAzure {}
18+
type QwikCityPlatform = PlatformAzure;
1919
}
2020

2121
export default createQwikCity({ render, qwikCityPlan });

‎starters/adapters/cloud-run/src/entry.cloud-run.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import { createServer } from "node:http";
1616
import render from "./entry.ssr";
1717

1818
declare global {
19-
interface QwikCityPlatform extends PlatformNode {}
19+
type QwikCityPlatform = PlatformNode;
2020
}
2121

2222
/** The default headers used by helmet */

‎starters/adapters/cloudflare-pages/src/entry.cloudflare-pages.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import qwikCityPlan from "@qwik-city-plan";
1515
import render from "./entry.ssr";
1616

1717
declare global {
18-
interface QwikCityPlatform extends PlatformCloudflarePages {}
18+
type QwikCityPlatform = PlatformCloudflarePages;
1919
}
2020

2121
const fetch = createQwikCity({ render, qwikCityPlan });

‎starters/adapters/express/src/entry.express.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import { fileURLToPath } from "node:url";
1919
import { join } from "node:path";
2020

2121
declare global {
22-
interface QwikCityPlatform extends PlatformNode {}
22+
type QwikCityPlatform = PlatformNode;
2323
}
2424

2525
// Directories where the static assets are located

‎starters/adapters/fastify/src/entry.fastify.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import { fileURLToPath } from "node:url";
1515
import FastifyQwik from "./plugins/fastify-qwik";
1616

1717
declare global {
18-
interface QwikCityPlatform extends PlatformNode {}
18+
type QwikCityPlatform = PlatformNode;
1919
}
2020

2121
// Directories where the static assets are located

‎starters/adapters/firebase/src/entry-firebase.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import qwikCityPlan from "@qwik-city-plan";
1515
import render from "./entry.ssr";
1616

1717
declare global {
18-
interface QwikCityPlatform extends PlatformFirebase {}
18+
type QwikCityPlatform = PlatformFirebase;
1919
}
2020

2121
export default createQwikCity({ render, qwikCityPlan });

‎starters/adapters/netlify-edge/src/entry.netlify-edge.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import qwikCityPlan from "@qwik-city-plan";
1515
import render from "./entry.ssr";
1616

1717
declare global {
18-
interface QwikCityPlatform extends PlatformNetlify {}
18+
type QwikCityPlatform = PlatformNetlify;
1919
}
2020

2121
export default createQwikCity({ render, qwikCityPlan });

0 commit comments

Comments
 (0)