mirror of https://github.com/freeCodeCamp/devdocs
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
333 B
12 lines
333 B
/*
|
|
* decaffeinate suggestions:
|
|
* DS206: Consider reworking classes to avoid initClass
|
|
* Full docs: https://github.com/decaffeinate/decaffeinate/blob/main/docs/suggestions.md
|
|
*/
|
|
const Cls = (app.collections.Entries = class Entries extends app.Collection {
|
|
static initClass() {
|
|
this.model = 'Entry';
|
|
}
|
|
});
|
|
Cls.initClass();
|