[ember] remove unused types

This commit is contained in:
Mike North 2018-09-26 21:52:40 -07:00
parent 3ee3f99b00
commit 8d2d24c520
No known key found for this signature in database
GPG Key ID: ACFB105BB14BED5E
2 changed files with 0 additions and 18 deletions

View File

@ -118,23 +118,6 @@ import EmberResolver from '@ember/application/resolver';
// @ember/test
import EmberTestAdapter from '@ember/test/adapter';
type Mix<A, B> = B & Pick<A, Exclude<keyof A, keyof B>>;
type Mix3<A, B, C> = Mix<Mix<A, B>, C>;
type Mix4<A, B, C, D> = Mix3<Mix<A, B>, C, D>;
type Mix5<A, B, C, D, E> = Mix4<Mix<A, B>, C, D, E>;
/**
* Ember.Object.extend(...) accepts any number of mixins or literals.
*/
type MixinOrLiteral<T, Base> = EmberMixin<T, Base> | T;
/**
* Ember.CoreView is an abstract class that exists to give view-like behavior to both Ember's main
* view class Ember.Component and other classes that don't need the full functionality of Ember.Component.
* Unless you have specific needs for CoreView, you will use Ember.Component in your applications.
*/
export class CoreView extends Ember.Object.extend(Ember.Evented, Ember.ActionHandler) {}
export namespace Ember {
const A: typeof EmberArrayNs.A;
const isArray: typeof EmberArrayNs.isArray;

View File

@ -1,4 +1,3 @@
import Ember from 'ember';
import Component from '@ember/component';
/**