We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 773152b commit 9f1f874Copy full SHA for 9f1f874
lib/models/author.js renamed to lib/models/author.ts
@@ -1,8 +1,7 @@
1
-'use strict'
2
// external modules
3
-var Sequelize = require('sequelize')
+import * as Sequelize from "sequelize";
4
5
-module.exports = function (sequelize, DataTypes) {
+export = function (sequelize, DataTypes) {
6
var Author = sequelize.define('Author', {
7
id: {
8
type: Sequelize.INTEGER,
0 commit comments