Skip to content

Commit

Permalink
Update capability typing
Browse files Browse the repository at this point in the history
  • Loading branch information
samayer12 committed Dec 11, 2024
1 parent 23adc9e commit 9c345aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/capability.ts
Original file line number Diff line number Diff line change
Expand Up @@ -212,9 +212,9 @@ export class Capability implements CapabilityExport {
type ExtendedCommonChainType = CommonChainType & {
Alias: (alias: string) => CommonChainType;
InNamespace: (...namespaces: string[]) => BindingWithName<T>;
InNamespaceRegex: (...namespaces: RegExp[]) => BindingWithName<T>;
InNamespaceRegex: (...namespaces: string[]) => BindingWithName<T>;
WithName: (name: string) => BindingFilter<T>;
WithNameRegex: (regexName: RegExp) => BindingFilter<T>;
WithNameRegex: (regexName: string) => BindingFilter<T>;
WithDeletionTimestamp: () => BindingFilter<T>;
};

Expand Down

0 comments on commit 9c345aa

Please sign in to comment.