I'm trying to migrate one of our apps to TS and am facing issues when trying to import the fiori elements extension api.
import ExtensionAPI from "sap/fe/core/ExtensionAPI";
results in the error
TS2792: Cannot find module 'sap/fe/core/ExtensionAPI'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option?
This holds true for sap/fe/*
I added sap.fe.core to the ui5.yaml/ui5-dist.yaml without any effect. What am I missing here?
Hi colleagues,
I'm trying to migrate one of our apps to TS and am facing issues when trying to import the fiori elements extension api.
import ExtensionAPI from "sap/fe/core/ExtensionAPI";
results in the error
TS2792: Cannot find module 'sap/fe/core/ExtensionAPI'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option?
This holds true for
sap/fe/*
I added
sap.fe.core
to the ui5.yaml/ui5-dist.yaml without any effect. What am I missing here?Thanks