Skip to content

Commit

Permalink
refactor(util): remove unused variables in src/util/ (#2068)
Browse files Browse the repository at this point in the history
* refactor(util): remove unused vars in util/root

* refactor(util): remove unused type parameters in util/isScheduler
  • Loading branch information
tetsuharuohzeki authored and benlesh committed Nov 4, 2016
1 parent 6476582 commit a3823d2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion src/util/isScheduler.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Scheduler } from '../Scheduler';
export function isScheduler<T>(value: any): value is Scheduler {
export function isScheduler(value: any): value is Scheduler {
return value && typeof (<any>value).schedule === 'function';
}
2 changes: 0 additions & 2 deletions src/util/root.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
declare let global: NodeJS.Global;
declare let module: any;
declare let exports: any;

declare module NodeJS {
interface Global {
Expand Down

0 comments on commit a3823d2

Please sign in to comment.