Skip to content

Commit

Permalink
chore: Fix TS issues with build
Browse files Browse the repository at this point in the history
  • Loading branch information
benlesh committed Sep 18, 2019
1 parent 8d24153 commit 79f8f0b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -127,7 +127,7 @@
"@types/chai": "4.1.2",
"@types/lodash": "4.14.102",
"@types/mocha": "2.2.48",
"@types/node": "9.4.5",
"@types/node": "^9.4.5",
"@types/sinon": "4.1.3",
"@types/sinon-chai": "2.7.29",
"@types/source-map": "^0.5.2",
Expand Down
4 changes: 2 additions & 2 deletions src/internal/operators/windowTime.ts
Expand Up @@ -112,13 +112,13 @@ export function windowTime<T>(windowTimeSpan: number): OperatorFunction<T, Obser
if (isScheduler(arguments[2])) {
scheduler = arguments[2];
} else if (isNumeric(arguments[2])) {
maxWindowSize = arguments[2];
maxWindowSize = +arguments[2];
}

if (isScheduler(arguments[1])) {
scheduler = arguments[1];
} else if (isNumeric(arguments[1])) {
windowCreationInterval = arguments[1];
windowCreationInterval = +arguments[1];
}

return function windowTimeOperatorFunction(source: Observable<T>) {
Expand Down

0 comments on commit 79f8f0b

Please sign in to comment.