File tree Expand file tree Collapse file tree 1 file changed +0
-21
lines changed Expand file tree Collapse file tree 1 file changed +0
-21
lines changed Original file line number Diff line number Diff line change @@ -1184,27 +1184,6 @@ export class Sequelize extends Hooks {
1184
1184
*/
1185
1185
public isDefined ( modelName : string ) : boolean ;
1186
1186
1187
- /**
1188
- * Imports a model defined in another file
1189
- *
1190
- * Imported models are cached, so multiple calls to import with the same path will not load the file
1191
- * multiple times
1192
- *
1193
- * See https://github.com/sequelize/sequelize/blob/master/examples/using-multiple-model-files/Task.js for a
1194
- * short example of how to define your models in separate files so that they can be imported by
1195
- * sequelize.import
1196
- *
1197
- * @param path The path to the file that holds the model you want to import. If the part is relative, it
1198
- * will be resolved relatively to the calling file
1199
- *
1200
- * @param defineFunction An optional function that provides model definitions. Useful if you do not
1201
- * want to use the module root as the define function
1202
- */
1203
- public import < T extends typeof Model > (
1204
- path : string ,
1205
- defineFunction ?: ( sequelize : Sequelize , dataTypes : typeof DataTypes ) => T
1206
- ) : T ;
1207
-
1208
1187
/**
1209
1188
* Execute a query on the DB, optionally bypassing all the Sequelize goodness.
1210
1189
*
You can’t perform that action at this time.
0 commit comments