From 9c345aa356f32520fdc2bcee3abe6366b78a8169 Mon Sep 17 00:00:00 2001 From: Sam Mayer Date: Wed, 11 Dec 2024 12:01:21 -0600 Subject: [PATCH] Update capability typing --- src/lib/capability.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/capability.ts b/src/lib/capability.ts index 72d622e08..b9d572feb 100644 --- a/src/lib/capability.ts +++ b/src/lib/capability.ts @@ -212,9 +212,9 @@ export class Capability implements CapabilityExport { type ExtendedCommonChainType = CommonChainType & { Alias: (alias: string) => CommonChainType; InNamespace: (...namespaces: string[]) => BindingWithName; - InNamespaceRegex: (...namespaces: RegExp[]) => BindingWithName; + InNamespaceRegex: (...namespaces: string[]) => BindingWithName; WithName: (name: string) => BindingFilter; - WithNameRegex: (regexName: RegExp) => BindingFilter; + WithNameRegex: (regexName: string) => BindingFilter; WithDeletionTimestamp: () => BindingFilter; };