Import error.. 404 issue

Trying to use a spreadsheet causes a 404 error. The version I own is 5.0.2pro.

Please refer to the image below

I simply declared a spreadsheet.

const spreadsheet = new dhx.Spreadsheet(“spreadsheet”);

Hello.

Please, note that the mentioned ts file is not the source file but the declaration type file.
Make sure you are importing the sources from the “spreadsheet/codebase/spreadsheet.js” file.
If the problem still occurs for you could you please, provide a more detailed code snippet with the sources importing and the component initialization, or a complete demo of your application, where the problem can be reconstructed locally.