message: refactor(of): fix typings for build
diff: @@ -3,8 +3,9 @@ import { isScheduler } from '../util/isScheduler';
  import { fromArray } from './fromArray';
  import { empty } from './empty';
  import { scalar } from './scalar';
  +import { Observable } from '../Observable';
  -export function of<T>(...args: Array<T | IScheduler>) {
  +export function of<T>(...args: Array<T | IScheduler>): Observable<T> {
  let scheduler = args[args.length - 1] as IScheduler;
  if (isScheduler(scheduler)) {
  args.pop();
  @@ -15,8 +16,8 @@ export function of<T>(...args: Array<T | IScheduler>) {
  case 0:
  return empty(scheduler);
  case 1:
  - return scheduler ? fromArray(args, scheduler) : scalar(args[0]);
  + return scheduler ? fromArray(args as T[], scheduler) : scalar(args[0] as T);
  default:
  - return fromArray(args, scheduler);
  + return fromArray(args as T[], scheduler);
  }
  }
  