4.0.0 • Published 3 months ago

@voltiso/transform v4.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

@voltiso/transform/inline

Type-alias-inlining using either:

  1. @inline JSDoc - to inline the type alias everywhere it's used (in .d.ts files)
  2. @inline comment before usage of any alias to attempt inlining it (in .d.ts files)

Config:

  • onInlineError: 'fail' - causes compiler to crash if type-inlining fails (usually symbols out of scope) - this applies only to the JSDoc inlining method (1.)

⚠️ Currently only checks if type names are in scope - but does not check if the types are equal!

@voltiso/transform/strip

Strip symbols such as asserts from production code.

Config:

  • modules: string[] - comment-out import declarations with given prefixes
  • symbols: string[] - comment-out instructions containing tokens (function calls, etc.)
4.0.0

3 months ago

3.1.6

4 months ago

3.1.5

4 months ago

3.1.4

4 months ago

3.1.3

6 months ago

3.1.2

8 months ago

3.1.1

8 months ago

3.1.0

1 year ago

3.0.4

1 year ago

3.0.3

1 year ago

3.0.2

2 years ago

3.0.1

2 years ago

3.0.7

1 year ago

3.0.6

1 year ago

3.0.5

1 year ago

3.0.0

2 years ago

2.0.0

2 years ago

1.1.4

2 years ago

1.1.3

2 years ago