Skip to content

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

Description

@porfidev

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions