Unverified Commit 6164207e authored by Guilherme Nagatomo's avatar Guilherme Nagatomo Committed by GitHub
Browse files

fix invalid typeof check in ObservableTimer#unsubscribe (closes #2100) (#2106)

parent fadac07d
......@@ -19,7 +19,7 @@ class ObservableTimer {
}
public unsubscribe( subscription: Rx.IDisposable): void {
if(typeof subscription !== undefined) {
if(typeof subscription !== 'undefined') {
subscription.dispose();
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment