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 building this project, I am getting 6 typescript errors. However, when I set the 'esModuleInterop' flag to true a whole new set of errors is presented. Is this app broken and in need of development? I thought these were the final deployed app templates.
`(base) PS C:\GIT\ESRI_ConfigurableApps\compare-app> npm run build:ts
3d-inset@0.0.1 build:ts
tsc
node_modules/@esri/application-base-js/index.d.ts:127:9 - error TS1259: Module '"esri/portal/Portal"' can only be default-imported using the 'esModuleInterop' flag
127 import Portal from 'esri/portal/Portal';
~~~~~~
node_modules/@types/arcgis-js-api/index.d.ts:61281:3
61281 export = Portal;
~~~~~~~~~~~~~~~~
This module is declared with using 'export =', and can only be used with a default import when using the 'esModuleInterop' flag.
node_modules/@esri/application-base-js/index.d.ts:128:9 - error TS1259: Module '"esri/portal/PortalQueryParams"' can only be default-imported using the 'esModuleInterop' flag
128 import PortalQueryParams from 'esri/portal/PortalQueryParams'; class ApplicationBase {
~~~~~~~~~~~~~~~~~
node_modules/@types/arcgis-js-api/index.d.ts:61306:3
61306 export = PortalQueryParams;
~~~~~~~~~~~~~~~~~~~~~~~~~~~
This module is declared with using 'export =', and can only be used with a default import when using the 'esModuleInterop' flag.
node_modules/@esri/application-base-js/index.d.ts:173:9 - error TS1259: Module '"esri/Camera"' can only be default-imported using the 'esModuleInterop' flag
173 import Camera from 'esri/Camera';
~~~~~~
node_modules/@types/arcgis-js-api/index.d.ts:60816:3
60816 export = Camera;
~~~~~~~~~~~~~~~~
This module is declared with using 'export =', and can only be used with a default import when using the 'esModuleInterop' flag.
node_modules/@esri/application-base-js/index.d.ts:174:9 - error TS1259: Module '"esri/geometry/Extent"' can only be default-imported using the 'esModuleInterop' flag
174 import Extent from 'esri/geometry/Extent';
~~~~~~
node_modules/@types/arcgis-js-api/index.d.ts:60891:3
60891 export = Extent;
~~~~~~~~~~~~~~~~
This module is declared with using 'export =', and can only be used with a default import when using the 'esModuleInterop' flag.
node_modules/@esri/application-base-js/index.d.ts:175:9 - error TS1259: Module '"esri/geometry/Point"' can only be default-imported using the 'esModuleInterop' flag
175 import Point from 'esri/geometry/Point';
~~~~~
node_modules/@types/arcgis-js-api/index.d.ts:60916:3
60916 export = Point;
~~~~~~~~~~~~~~~
This module is declared with using 'export =', and can only be used with a default import when using the 'esModuleInterop' flag.
node_modules/@esri/application-base-js/index.d.ts:187:9 - error TS1259: Module '"esri/portal/PortalItem"' can only be default-imported using the 'esModuleInterop' flag
187 import PortalItem from 'esri/portal/PortalItem';
~~~~~~~~~~
node_modules/@types/arcgis-js-api/index.d.ts:61296:3
61296 export = PortalItem;
~~~~~~~~~~~~~~~~~~~~
This module is declared with using 'export =', and can only be used with a default import when using the 'esModuleInterop' flag.
Found 6 errors.`
The text was updated successfully, but these errors were encountered:
When building this project, I am getting 6 typescript errors. However, when I set the 'esModuleInterop' flag to true a whole new set of errors is presented. Is this app broken and in need of development? I thought these were the final deployed app templates.
`(base) PS C:\GIT\ESRI_ConfigurableApps\compare-app> npm run build:ts
node_modules/@esri/application-base-js/index.d.ts:127:9 - error TS1259: Module '"esri/portal/Portal"' can only be default-imported using the 'esModuleInterop' flag
127 import Portal from 'esri/portal/Portal';
~~~~~~
node_modules/@types/arcgis-js-api/index.d.ts:61281:3
61281 export = Portal;
~~~~~~~~~~~~~~~~
This module is declared with using 'export =', and can only be used with a default import when using the 'esModuleInterop' flag.
node_modules/@esri/application-base-js/index.d.ts:128:9 - error TS1259: Module '"esri/portal/PortalQueryParams"' can only be default-imported using the 'esModuleInterop' flag
128 import PortalQueryParams from 'esri/portal/PortalQueryParams'; class ApplicationBase {
~~~~~~~~~~~~~~~~~
node_modules/@types/arcgis-js-api/index.d.ts:61306:3
61306 export = PortalQueryParams;
~~~~~~~~~~~~~~~~~~~~~~~~~~~
This module is declared with using 'export =', and can only be used with a default import when using the 'esModuleInterop' flag.
node_modules/@esri/application-base-js/index.d.ts:173:9 - error TS1259: Module '"esri/Camera"' can only be default-imported using the 'esModuleInterop' flag
173 import Camera from 'esri/Camera';
~~~~~~
node_modules/@types/arcgis-js-api/index.d.ts:60816:3
60816 export = Camera;
~~~~~~~~~~~~~~~~
This module is declared with using 'export =', and can only be used with a default import when using the 'esModuleInterop' flag.
node_modules/@esri/application-base-js/index.d.ts:174:9 - error TS1259: Module '"esri/geometry/Extent"' can only be default-imported using the 'esModuleInterop' flag
174 import Extent from 'esri/geometry/Extent';
~~~~~~
node_modules/@types/arcgis-js-api/index.d.ts:60891:3
60891 export = Extent;
~~~~~~~~~~~~~~~~
This module is declared with using 'export =', and can only be used with a default import when using the 'esModuleInterop' flag.
node_modules/@esri/application-base-js/index.d.ts:175:9 - error TS1259: Module '"esri/geometry/Point"' can only be default-imported using the 'esModuleInterop' flag
175 import Point from 'esri/geometry/Point';
~~~~~
node_modules/@types/arcgis-js-api/index.d.ts:60916:3
60916 export = Point;
~~~~~~~~~~~~~~~
This module is declared with using 'export =', and can only be used with a default import when using the 'esModuleInterop' flag.
node_modules/@esri/application-base-js/index.d.ts:187:9 - error TS1259: Module '"esri/portal/PortalItem"' can only be default-imported using the 'esModuleInterop' flag
187 import PortalItem from 'esri/portal/PortalItem';
~~~~~~~~~~
node_modules/@types/arcgis-js-api/index.d.ts:61296:3
61296 export = PortalItem;
~~~~~~~~~~~~~~~~~~~~
This module is declared with using 'export =', and can only be used with a default import when using the 'esModuleInterop' flag.
Found 6 errors.`
The text was updated successfully, but these errors were encountered: