Skip to content

Commit 496a36d

Browse files
fix: missing return types
1 parent e369992 commit 496a36d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

openfeature-provider/js/src/ConfidenceServerProviderLocal.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ export class ConfidenceServerProviderLocal implements Provider {
133133
};
134134
}
135135

136-
async updateState() {
136+
async updateState():Promise<void> {
137137
const { signedUri, account } = await this.stateUriProvider();
138138
const req = new Request(signedUri);
139139
if(this.stateEtag) {
@@ -155,7 +155,7 @@ export class ConfidenceServerProviderLocal implements Provider {
155155
})
156156
}
157157

158-
async flush() {
158+
async flush():Promise<void> {
159159
const writeFlagLogRequest = this.resolver.flushLogs();
160160
if(writeFlagLogRequest.length == 0) {
161161
// nothing to send

0 commit comments

Comments
 (0)