Skip to content

Commit

Permalink
fixup! feat: base apply functionality on backend decision
Browse files Browse the repository at this point in the history
  • Loading branch information
nicklasl committed Feb 3, 2025
1 parent 978c8fa commit b42d9b4
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/sdk/src/FlagResolution.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,11 +119,7 @@ ReadyFlagResolution.prototype.state = 'READY';

export class FailedFlagResolution implements FlagResolution {
declare state: 'ERROR';
constructor(
readonly context: Value.Struct,
readonly code: FlagEvaluation.ErrorCode,
readonly message: string,
) {}
constructor(readonly context: Value.Struct, readonly code: FlagEvaluation.ErrorCode, readonly message: string) {}

evaluate<T extends Value>(_path: string, defaultValue: T): FlagEvaluation.Resolved<T> {
return {
Expand Down

0 comments on commit b42d9b4

Please sign in to comment.