-
-
Notifications
You must be signed in to change notification settings - Fork 25
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
More TS #301
Merged
Merged
More TS #301
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
cf1ba92
chore: enable `noImplicitAny` on `elm-binary.js`
lishaduck 78f3479
fix: type-level arithmetic!
lishaduck 03479d3
chore: enable `noImplicitAny` on `template-dependencies.js`
lishaduck 70aae3f
chore: add watch-strict script to ease `noImplicitAny` adoption
lishaduck a5faaca
chore: enable `noImplicitAny` on `result-cache-worker.js`
lishaduck 860a198
refactor: define CacheRequest type
lishaduck d336723
fix: readAst returns an Ast, not an ElmFile
lishaduck f02acd1
fix: use unknown over object, which ts now treats as any
lishaduck 834c54a
chore: enable `noImplicitAny` on `result-cache.js`
lishaduck 8b76474
fix: more types
lishaduck 28c23bf
fix: remove redundant annotation
lishaduck ad4f70a
chore: enable `noImplicitAny` on `review-dependencies.js`
lishaduck a06b3c7
chore: enable `noImplicitAny` on `project-dependencies.js`
lishaduck 17644f0
chore: enable `noImplicitAny` on `runner.js`
lishaduck 7f6e6a7
chore: enable `noImplicitAny` on `app-wrapper.js`
lishaduck b2c7e04
chore: enable `noImplicitAny` on `autofix.js`
lishaduck 8acbcea
chore: enable `noImplicitAny` on `remote-template.js`
lishaduck a6fa97b
chore: enable `noImplicitAny` on `optimize-js.js`
lishaduck e7c5864
chore: update type imports to use ts extensions
lishaduck d0f19fc
chore: enable `noImplicitAny` on `build.js`
lishaduck da322ba
chore: enable `noImplicitAny` on `elm-app-worker.js`
lishaduck 3552ccd
chore: enable `noImplicitAny` on `init.js`
lishaduck 98a0279
chore: enable `noImplicitAny` on `new-package.js`
lishaduck a64d587
chore: enable `noImplicitAny` on `main.js`
lishaduck ffe85cc
chore: enable `noImplicitAny` on `module-cache.js`
lishaduck f68a16d
chore: enable `noImplicitAny` on `run-review.js`
lishaduck fd34ca9
chore: enable `noImplicitAny` on `watch.js`
lishaduck 505261a
chore: enable `noImplicitAny` on `new-package/`
lishaduck 4e91e56
chore: remove `tsconfig.no-implicit-any.json`
lishaduck fd4fd3a
chore: enable blanket strict mode
lishaduck c13b9ff
chore: make eslint depend on tsconfig
lishaduck d7b4155
chore: add offline testing script
lishaduck bdaa693
Update maintenance file snapshots
jfmengels File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this not a return type annotation? (Same of other functions in this file)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They should, but I used the IDE inferer to get started, which skips them, unfortunately, and I didn't realize it until I was done.
TS infers them though, so I think it can be left for a follow-up.