Skip to content

Commit

Permalink
fix: fix invalid ts import style of lib/operators (sequelize#13797)
Browse files Browse the repository at this point in the history
* fix: fix invalid ts import style of lib/operators

* refactor: align types/index.d.ts

Co-authored-by: Rik Smale <13023439+WikiRik@users.noreply.github.com>

Co-authored-by: Rik Smale <13023439+WikiRik@users.noreply.github.com>
  • Loading branch information
2 people authored and aliatsis committed Jun 2, 2022
1 parent ba4d350 commit 99e79d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion types/index.d.ts
@@ -1,6 +1,6 @@
import DataTypes = require("./lib/data-types");
import Deferrable = require("./lib/deferrable");
import * as Op from "../lib/operators";
import Op = require("../lib/operators");
import QueryTypes = require("./lib/query-types");
import TableHints = require("./lib/table-hints");
import IndexHints = require("./lib/index-hints");
Expand Down
2 changes: 1 addition & 1 deletion types/lib/model.d.ts
Expand Up @@ -9,7 +9,7 @@ import { Sequelize, SyncOptions } from './sequelize';
import { LOCK, Transaction } from './transaction';
import { Col, Fn, Literal, Where } from './utils';
import { SetRequired } from '../type-helpers/set-required'
import * as Op from '../../lib/operators';
import Op = require('../../lib/operators');

export interface Logging {
/**
Expand Down

0 comments on commit 99e79d0

Please sign in to comment.