Skip to content

Commit

Permalink
fix: revert edge config type
Browse files Browse the repository at this point in the history
Signed-off-by: Griko Nibras <[email protected]>
  • Loading branch information
grikomsn committed Jan 24, 2024
1 parent 377a455 commit bdccec2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib/edge-config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import type { ExperimentalFeature } from "@skip-router/core";
import { createClient } from "@vercel/edge-config";

function getClient() {
Expand All @@ -17,6 +16,8 @@ export async function getCorsDomains(): Promise<string[]> {
}
}

type ExperimentalFeature = /* import('@skip-router/core').ExperimentalFeature */ string;

export async function getClientFlags(): Promise<ExperimentalFeature[]> {
try {
if (process.env.NEXT_PUBLIC_FLAGS_OVERRIDE) {
Expand Down

0 comments on commit bdccec2

Please sign in to comment.