Skip to content

Commit

Permalink
fix: 🐛 export all types in root module
Browse files Browse the repository at this point in the history
  • Loading branch information
doralteres committed Sep 7, 2023
1 parent bcbb88d commit dd88046
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import {Sequelize} from 'sequelize';
import {Router} from 'express';
import {sequelizeCrudConfig} from './types';
import {getPath} from './utils';
import buildModelRoutes from './routes';
import {sequelizeCrudConfig} from './types';

const sequelizeCrud = (sequelize: Sequelize, config: sequelizeCrudConfig) => {
console.group('Building express crud routes:');
Expand All @@ -16,3 +16,4 @@ const sequelizeCrud = (sequelize: Sequelize, config: sequelizeCrudConfig) => {
};

export default sequelizeCrud;
export * from './types';

0 comments on commit dd88046

Please sign in to comment.