Skip to content

Commit 19290d1

Browse files
fix typescript error
Fix the following typescript error: > Type '(conventions: DocumentConventions) => RavenCommand<boolean>' is not assignable to type '(conventions: DocumentConventions) => RavenCommand<Boolean>'. > Call signature return types 'RavenCommand<boolean>' and 'RavenCommand<Boolean>' are incompatible. > Type 'Boolean' is not assignable to type 'boolean'. > 'boolean' is a primitive, but 'Boolean' is a wrapper object.
1 parent 90d024b commit 19290d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Documents/Operations/Indexes/IndexHasChangedOperation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { HttpRequestParameters } from "../../../Primitives/Http";
88
import { HeadersBuilder } from "../../../Utility/HttpUtil";
99
import * as stream from "readable-stream";
1010

11-
export class IndexHasChangedOperation implements IMaintenanceOperation<Boolean> {
11+
export class IndexHasChangedOperation implements IMaintenanceOperation<boolean> {
1212

1313
private readonly _definition: IndexDefinition;
1414

0 commit comments

Comments
 (0)