Skip to content

Documentation / @ember-data/model / index / modelFor

Call Signature

ts
function modelFor<T>(type): void | typeof Model;

Defined in: packages/model/src/-private/hooks.ts:53

Type Parameters

T

T

Parameters

type

TypeFromInstance<T>

Returns

void | typeof Model

Call Signature

ts
function modelFor(type): void | typeof Model;

Defined in: packages/model/src/-private/hooks.ts:54

Parameters

type

string

Returns

void | typeof Model

Released under the MIT License.