We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c0dc8ea commit 213b823Copy full SHA for 213b823
packages/console/core/script/black-select-workspaces.ts
@@ -3,7 +3,7 @@ import { BillingTable, SubscriptionPlan } from "../src/schema/billing.sql.js"
3
import { UserTable } from "../src/schema/user.sql.js"
4
import { AuthTable } from "../src/schema/auth.sql.js"
5
6
-const plan = process.argv[2] as typeof SubscriptionPlan[number]
+const plan = process.argv[2] as (typeof SubscriptionPlan)[number]
7
if (!SubscriptionPlan.includes(plan)) {
8
console.error("Usage: bun foo.ts <count>")
9
process.exit(1)
0 commit comments