You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please provide the environment you discovered this bug in.
version - 1.12.0
angular 18
using analog/angular plugin
Which area/package is the issue in?
create-analog
Description
type errors are not displayed, reproduce-
create a service (optional - with property called: 'prop2 = 2')
from component, inject the service, and point to non-existing property like prop1.
no error was shown and Vite still serves the wrong implementation.
after serve refresh (abort and re-serve), the desired error occur.
"Pre-transform error: Property 'prop1' does not exist on type 'AService'. Did you mean 'prop2'?"
Please provide the exception or error you saw
no error occurs with Analogjs. With Angular compiler it does.
Other information
No response
I would be willing to submit a PR to fix this issue
Yes
No
The text was updated successfully, but these errors were encountered:
Please provide the environment you discovered this bug in.
version - 1.12.0
angular 18
using analog/angular plugin
Which area/package is the issue in?
create-analog
Description
type errors are not displayed, reproduce-
create a service (optional - with property called: 'prop2 = 2')
from component, inject the service, and point to non-existing property like prop1.
no error was shown and Vite still serves the wrong implementation.
after serve refresh (abort and re-serve), the desired error occur.
"Pre-transform error: Property 'prop1' does not exist on type 'AService'. Did you mean 'prop2'?"
Please provide the exception or error you saw
Other information
No response
I would be willing to submit a PR to fix this issue
The text was updated successfully, but these errors were encountered: