message: deriving OmniOscillatorOptions from ConditionalOptions
diff: @@ -33,10 +33,6 @@ type TypeofAnyOscillator = typeof Oscillator | typeof PWMOscillator |
  */
  type OmniOscillatorType = string;
  -interface OmniOscillatorOptions extends ToneOscillatorOptions {
  - type: OmniOscillatorType;
  -}
  -
  /**
  * Select the Oscillator's Options depending on the generic type.
  */
  @@ -49,6 +45,11 @@ type ConditionalOptions<Osc extends AnyOscillator> =
  Osc extends PWMOscillator ? PWMOscillatorOptions :
  ToneOscillatorOptions;
  +/**
  + * The aggregate options of all of the oscillators
  + */
  +export type OmniOscillatorOptions = ConditionalOptions<AnyOscillator>;
  +
  /**
  * All of the Oscillator constructor types mapped to their name.
  */
  