MCPcopy
hub / github.com/emberjs/ember.js / extend

Method extend

packages/@ember/object/core.ts:718–722  ·  view source on GitHub ↗
(...mixins: any[])

Source from the content-addressed store, hash-verified

716 ...mixins: M
717 ): Readonly<Statics> & EmberClassConstructor<Instance> & MergeArray<M>;
718 static extend(...mixins: any[]) {
719 let Class = class extends this {};
720 reopen.apply(Class.PrototypeMixin, mixins);
721 return Class;
722 }
723
724 /**
725 Creates an instance of a class. Accepts either no arguments, or an object

Calls 1

applyMethod · 0.80

Tested by

no test coverage detected