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

Assorted Typing Fixes #3348

Merged
merged 41 commits into from Mar 23, 2022
Merged

Assorted Typing Fixes #3348

merged 41 commits into from Mar 23, 2022

Conversation

askvortsov1
Copy link
Sponsor Member

Moving one step closer to having all the hundreds of CI jobs on this monorepo be green.

The tsconfig changes from that command are ignored, since we don't yet support "replacable sections" that would let us add custom config.
Copy link
Member

@SychO9 SychO9 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Amazing to see this!

Wouldn't have been fun across multiple repositories >.>

Looks like the diff shows dist files despite .gitattributes files instructing against, it seems like only a root level .gitattributes is taken into consideration so we'll probably want to add one.

Other than that, all looks good to me! Thanks for the well-split commits.

Copy link
Member

@davwheat davwheat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Most of these are just using import type instead of import to make certain that we don't accidentally use the imports for anything except typing.

Another thing to note is that we should really be marking view method return types as Mithril.Children rather than the automatic JSX.Element since that doesn't allow extends/overrides to return things like null, strings, numbers or arrays as fragments.

Thank you for your hard work on this 🤗🥰

extensions/akismet/js/src/forum/index.ts Outdated Show resolved Hide resolved
extensions/flags/js/src/forum/index.ts Show resolved Hide resolved
extensions/flags/js/src/forum/models/Flag.ts Outdated Show resolved Hide resolved
extensions/flags/js/src/forum/models/Flag.ts Outdated Show resolved Hide resolved
extensions/pusher/js/src/forum/index.ts Outdated Show resolved Hide resolved
framework/core/js/src/forum/routes.ts Outdated Show resolved Hide resolved
framework/core/js/src/forum/routes.ts Outdated Show resolved Hide resolved
framework/core/js/src/forum/states/PostStreamState.ts Outdated Show resolved Hide resolved
framework/core/js/src/forum/states/PostStreamState.ts Outdated Show resolved Hide resolved
@askvortsov1 askvortsov1 merged commit a595665 into main Mar 23, 2022
@askvortsov1 askvortsov1 deleted the as/typing-fixes branch March 23, 2022 15:43
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.

None yet

3 participants