babel-plugin-transform-typescript-metadata icon indicating copy to clipboard operation
babel-plugin-transform-typescript-metadata copied to clipboard

Add type annotations for properties defined by get/set

Open mzeiher opened this issue 6 years ago • 1 comments

This is a quick proof of concept on how to add type annotations for get/set properties, I could also add tests and cleanup as soon as I know how to your package is exactly organized :)

mzeiher avatar Apr 01 '19 20:04 mzeiher

Codecov Report

Merging #6 into master will decrease coverage by 5%. The diff coverage is 58.82%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master       #6      +/-   ##
==========================================
- Coverage   91.89%   86.88%   -5.01%     
==========================================
  Files           4        4              
  Lines         111      122      +11     
  Branches       41       46       +5     
==========================================
+ Hits          102      106       +4     
- Misses          9       16       +7
Impacted Files Coverage Δ
src/metadata/metadataVisitor.ts 78.94% <57.14%> (-13.91%) :arrow_down:
src/metadata/serializeType.ts 85.13% <60%> (-4.58%) :arrow_down:

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 a90bdd5...a726ec3. Read the comment docs.

codecov[bot] avatar Apr 01 '19 20:04 codecov[bot]