0

The deployment in AWS S3 was written in JS I am doing in TypeScript.What code should I add for TypeScript to make it work.

1)There are downloaded files with ts extension enter image description here

2)But they don't load when the page loads enter image description here

3)white page enter image description here 4)Through github everything is fine enter image description here

2
  • 1
    Web browsers don't support Typescript. You have to transpile your TypeScript code to JavaScript before deploying it. Commented Jan 28, 2022 at 18:04
  • Thank you, I found where the mistake was. Commented Jan 29, 2022 at 11:09

1 Answer 1

1

This was a .ts and should be a .js enter image description here

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.