Skip to content

Commit

Permalink
Fixed typings for viewport
Browse files Browse the repository at this point in the history
  • Loading branch information
squidfunk committed Mar 26, 2018
1 parent 383ed6a commit 0a5ba9b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 20 deletions.
20 changes: 1 addition & 19 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/adapter/viewport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ export class Viewport {
public between(
first: string, last: string,
cb: ViewportCallback
): Promise<void> | void {
): void | Promise<void> {
const [initial, ...rest] = range(this.config.breakpoints, first, last)

/* Apply breakpoint and execute callback */
Expand Down

0 comments on commit 0a5ba9b

Please sign in to comment.