Skip to content

refactor: convert config maps & utils to typescript - #12464

Merged
sushantdhiman merged 1 commit into
masterfrom
migrate-to-ts
Jul 5, 2020
Merged

sushantdhiman merged 1 commit into
masterfrom
migrate-to-ts

Conversation

@sushantdhiman

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

Converted some basic utilities and options files to typescript

@codecov

codecov Bot commented Jul 5, 2020 •

Copy link
Copy Markdown

Codecov Report

Merging #12464 into master will decrease coverage by 0.47%.
The diff coverage is 94.64%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #12464      +/-   ##
==========================================
- Coverage   96.46%   95.99%   -0.48%     
==========================================
  Files          95       92       -3     
  Lines        9194     8984     -210     
  Branches        0       14      +14     
==========================================
- Hits         8869     8624     -245     
- Misses        325      357      +32     
- Partials        0        3       +3     
Impacted Files Coverage Δ
src/index-hints.ts 100.00% <ø> (ø)
src/operators.ts 100.00% <ø> (ø)
src/query-types.ts 100.00% <ø> (ø)
src/table-hints.ts 100.00% <ø> (ø)
src/utils/join-sql-fragments.ts 85.71% <83.33%> (ø)
src/utils/validator-extras.ts 94.44% <94.44%> (ø)
src/utils/class-to-invokable.ts 100.00% <100.00%> (ø)
src/utils/deprecations.ts 100.00% <100.00%> (ø)
src/utils/logger.ts 100.00% <100.00%> (ø)
src/dialects/mariadb/query-generator.js 18.75% <0.00%> (-81.25%) ⬇️
... and 7 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 8281de9...2cde42e. Read the comment docs.

@sushantdhiman
sushantdhiman merged commit cb36581 into master Jul 5, 2020
@sushantdhiman
sushantdhiman deleted the migrate-to-ts branch July 5, 2020 09:32
@vanthome

Copy link
Copy Markdown
Contributor

The types folder is missing and it cannot be built in any way as far as I can see. So I don't see how the typings currently work. Am I overlooking something?

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