featurehub-javascript-client-sdk
Version:
FeatureHub client/browser SDK
15 lines (11 loc) • 374 B
text/typescript
import { InternalFeatureRepository } from './internal_feature_repository';
export class InterceptorValueMatch {
public value: string | undefined;
constructor(value: string | undefined) {
this.value = value;
}
}
export interface FeatureStateValueInterceptor {
matched(key: string): InterceptorValueMatch;
repository(repo: InternalFeatureRepository): void;
}