refactor: DRY references to Web Worker global scope
Created by: lguychard
Avoids repetition of (self as any)
, and also possibly makes this code clearer for future onlookers who may not be familiar with web workers.
Created by: lguychard
Avoids repetition of (self as any)
, and also possibly makes this code clearer for future onlookers who may not be familiar with web workers.