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
When using component-story generator with typescript, it uses "casting" (as) instead of typing the object directly. Some projects have eslint rules flagging casts as warnings or errors and then they need to disable warnings in nx generated files or rewrite them.
Motivation
Typecasting with as is not type-safe since the user must "be sure" they do the right thing and the compiler can't really help.