Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues on The-TypeScript-Workshop/Chapter02/Activity01/ #5

Open
porfidev opened this issue Aug 9, 2022 · 0 comments
Open

Issues on The-TypeScript-Workshop/Chapter02/Activity01/ #5

porfidev opened this issue Aug 9, 2022 · 0 comments

Comments

@porfidev
Copy link

porfidev commented Aug 9, 2022

Reference to: Activity 2.01: Building a Heat Map Declaration File

The book description does not show how to compile files.

If we use tsc standart commands, it has an error for @types/jasmine mention : set target to es2015 or later to use "Promise".

Then when we use tsc --target es2015 it throws that we can't use "require".

Then when we update code to use import, lodash and @types/lodash throws incompatibility on run node heat_map.data.js cause node does not find module lodash

===

After all I remove .specfile, remove @types/jasmine and use the require imports, that resolvers tsc heat_map_data.ts issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant