Skip to content

fix(types): specified this for getters and setters in fields#11648

Merged
sushantdhiman merged 1 commit into
sequelize:masterfrom
knoid:feature/field-get-type
Nov 9, 2019
Merged

fix(types): specified this for getters and setters in fields#11648
sushantdhiman merged 1 commit into
sequelize:masterfrom
knoid:feature/field-get-type

Conversation

@knoid

@knoid knoid commented Nov 5, 2019

Copy link
Copy Markdown
Contributor

Pull Request check-list

Please make sure to review and check all of these items:

  • Does npm run test or npm run test-DIALECT pass with this change (including linting)?
  • Does the description below contain a link to an existing issue (Closes #[issue]) or a description of the issue you are solving?
  • Have you added new tests to prevent regressions?
  • Is a documentation update included (if this change modifies existing APIs, or introduces new ones)?
  • Did you update the typescript typings accordingly (if applicable)?
  • Did you follow the commit message conventions explained in CONTRIBUTING.md?

Description of change

Added typings for this on getters and setters in attribute definitions.

@codecov

codecov Bot commented Nov 5, 2019

Copy link
Copy Markdown

Codecov Report

Merging #11648 into master will increase coverage by 3.38%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #11648      +/-   ##
==========================================
+ Coverage   92.47%   95.86%   +3.38%     
==========================================
  Files          91       91              
  Lines        8903     8987      +84     
==========================================
+ Hits         8233     8615     +382     
+ Misses        670      372     -298
Impacted Files Coverage Δ
lib/dialects/mariadb/query-generator.js 14.28% <0%> (-85.72%) ⬇️
lib/dialects/mariadb/data-types.js 50.98% <0%> (-49.02%) ⬇️
lib/dialects/mariadb/index.js
lib/dialects/mariadb/connection-manager.js
lib/dialects/mariadb/query.js
lib/dialects/sqlite/index.js 100% <0%> (ø)
lib/dialects/sqlite/query.js 98.65% <0%> (ø)
lib/dialects/sqlite/connection-manager.js 100% <0%> (ø)
lib/data-types.js 91.34% <0%> (+0.34%) ⬆️
lib/dialects/abstract/query-generator.js 97.01% <0%> (+0.51%) ⬆️
... and 8 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cbef15f...2237276. Read the comment docs.

@sushantdhiman sushantdhiman merged commit afb8cc3 into sequelize:master Nov 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants