We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 50f2d8d commit 1d887bfCopy full SHA for 1d887bf
src/index.ts
@@ -1,6 +1,7 @@
1
import { Router } from "itty-router";
2
import { calculatePercentage, evaluate } from "./evaluation";
3
-import { createFlagKey, Flag, FlagPercentage } from "./flag";
+import { createFlagKey } from "./flag";
4
+import type { Flag, FlagPercentage } from "./flag";
5
import { getCfProperties } from "./util/request";
6
import type { Env } from "./util/request";
7
import { json, notFound, text } from "./util/response";
@@ -10,7 +11,7 @@ interface FlagPayload {
10
11
percentage: FlagPercentage;
12
}
13
-const OWNER = "public"; // This should be dynamic
14
+const OWNER = "public"; // TODO: This should be dynamic
15
16
const router = Router();
17
0 commit comments