The types in core.d.ts were needed because of .tsx. We don't need them anymore.
Another fix would have beed to replace the tns-core-modules with @nativescrit/core in the declaration file:
from: declare module "tns-core-modules/ui/core/view" { ... }
to: declare module "@nativescript/core/s/ui/core/view" { ... }
However core.d.ts is no longer needed, so better remove it completely.
The types in
core.d.ts
were needed because of.tsx
. We don't need them anymore.Another fix would have beed to replace the
tns-core-modules
with@nativescrit/core
in the declaration file: from:declare module "tns-core-modules/ui/core/view" { ... }
to:declare module "@nativescript/core/s/ui/core/view" { ... }
However
core.d.ts
is no longer needed, so better remove it completely.