haunted
haunted copied to clipboard
js extension not added to lib/*.js
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.
Can you send a PR?