Skip to content

js extension not added to lib/*.js #209

Open
@atoy40

Description

@atoy40

The current version does not have the .js added to import statments in lib/*.js compiled files
this is because the TS compiler return an error :

node_modules/.bin/tsc
src/use-context.ts:60:18 - error TS2774: This condition will always return true since the function is always defined. Did you mean to call it instead?

60     this.value = unsubscribe ? value : Context.defaultValue;
                    ~~~~~~~~~~~


Found 1 error.

So the next command in the makefile (sed) is not called. I've fixed this error and then sed has been call successfully.

Anthony.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions