1.0.8 • Published 1 year ago

inject-pilot v1.0.8

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

Inject pilot

npm.io

Schematics to help you migrate constructor based injections in Angular code bases to inject

Why should I migrate?

  • Today's constructor based injections only work because Angular uses a flag that enables TypeScripts old behavior of how constructor properties are evaluated. Therefore using inject makes your code more future proof.
  • When using constructor based injections in combination with injection tokens, you do not get proper type safety. With inject this is not a problem.
  • inject makes it super convenient to inject services in combination with inheritance. No need for super calls.

Find out more about advantages of using the inject function.

Usage / Getting started

npx inject-pilot
1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago