Skip to content

Commit

Permalink
fix typescript error
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
victor-accarini committed Mar 11, 2020
1 parent 90d024b commit 19290d1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { HttpRequestParameters } from "../../../Primitives/Http";
import { HeadersBuilder } from "../../../Utility/HttpUtil";
import * as stream from "readable-stream";

export class IndexHasChangedOperation implements IMaintenanceOperation<Boolean> {
export class IndexHasChangedOperation implements IMaintenanceOperation<boolean> {

private readonly _definition: IndexDefinition;

Expand Down

0 comments on commit 19290d1

Please sign in to comment.