Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The TypeScript config has been updated to match the configuration we use in other libraries, mostly. The remaining differences are that
strict
is still not enabled, and there is a separate config used for testing. The test config was preserved for now, but that will be replaced soon when we migrate the tests to Jest.strict
mode will be enabled in a later PR after we update dependencies, as that will make the necessary changes much easier.The changes are:
inlineSources
has been enabled. This embeds a complete copy of the source code with the source maps, allowing for a much better debugging experience.lib
has been set toES2020
, ensuring that we only rely upon JavaScript APIs. Previously it also allowed use of browser APIs.rootDir
is now set explicitly tosrc
, which will help ensure we don't accidentally change the structure of the package.prod
config was merged with the base config, so it was no longer needed as a separate file.Closes #142