Skip to content

Commit

Permalink
Fix sequelize's import of validator (DefinitelyTyped#68172)
Browse files Browse the repository at this point in the history
Changed in DefinitelyTyped#68121. Sequelize was missed because of a bug in the linter's
setup code.
  • Loading branch information
sandersn authored Jan 11, 2024
1 parent 245cc9b commit b0a62b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion types/sequelize/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import * as _ from "lodash";
import Promise = require("bluebird");
import * as cls from "continuation-local-storage";

import ValidatorJS from "validator";
import ValidatorJS = require("validator");

type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;

Expand Down
2 changes: 1 addition & 1 deletion types/sequelize/v3/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import * as Promise from "bluebird";
import * as _ from "lodash";

import ValidatorJS from "validator";
import ValidatorJS = require("validator");

declare namespace sequelize {
//
Expand Down

0 comments on commit b0a62b6

Please sign in to comment.