Skip to content

Commit

Permalink
fix: timeout ssr compat
Browse files Browse the repository at this point in the history
  • Loading branch information
Jexordexan committed Feb 18, 2021
1 parent 6f6d32f commit 06e9450
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ContainerMixin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import {
} from './utils';

type PointEventListener = (e: PointEvent) => any;
const timeout = window.setTimeout;
const timeout: (cb: Function, dur?: number) => number = setTimeout;
type Timer = number | null;

interface ComponentProps {
Expand Down

0 comments on commit 06e9450

Please sign in to comment.