Skip to content
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

refactor: Convert to TypeScript #623

Merged
merged 30 commits into from
Oct 18, 2018
Merged

refactor: Convert to TypeScript #623

merged 30 commits into from
Oct 18, 2018

Conversation

davismj
Copy link
Member

@davismj davismj commented Oct 18, 2018

No description provided.

bigopon and others added 30 commits August 19, 2018 14:52
We were previously using the lowest common denominator, which defaulted to the view port defaults implementation. However, that implementation is better described as a partial. Once setting it to a partial type, it is safe to add the proper, stronger typings.
`Promise<PipelineResult>` is included in `Promise<PipelineResult | boolean>`.
The use of Slots and Steps in the Pipeline/Provider is a bit sloppy and not clear. Both cases, Slots in the PipelineProvider and Steps in the Pipeline, support either slots or steps respectively or constructors for the associated steps. Adding these types allows us to remove typecasting workarounds. There is one place where some duck typing was used and typecasting is required. I've added a comment describing why.
This command reflects the "to run the project in development mode" instructions. The instructions were updated to use the start command instead. Save a few keystrokes.
@davismj davismj changed the title Build/typescript refactor: Convert to TypeScript Oct 18, 2018
@davismj davismj merged commit 531eff1 into aurelia:master Oct 18, 2018
@davismj davismj deleted the build/typescript branch August 19, 2019 01:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants