Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Comply with noImplicitAny #9940

Merged
merged 10 commits into from
Feb 13, 2023
Merged

Comply with noImplicitAny #9940

merged 10 commits into from
Feb 13, 2023

Conversation

t3chguy
Copy link
Member

@t3chguy t3chguy commented Jan 19, 2023

Requires matrix-org/matrix-js-sdk#3079
For element-hq/element-web#21968

Doesn't enable noImplicitAny yet due to it needing strictNullChecking to resolve

image


This change is marked as an internal change (Task), so will not be included in the changelog.

@t3chguy t3chguy added the T-Task Refactoring, enabling or disabling functionality, other engineering tasks label Jan 19, 2023
@t3chguy t3chguy requested review from a team as code owners January 19, 2023 17:27
@t3chguy t3chguy marked this pull request as draft January 19, 2023 17:40
Copy link
Contributor

@andybalaam andybalaam left a comment

Choose a reason for hiding this comment

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

All looks very sensible to me, so long as the strict errors github is showing are ok?

clarkf added a commit to clarkf/matrix-react-sdk that referenced this pull request Jan 23, 2023
Changes pulled directly from t3chguy's branch. This removes implicit `any`
occurrences in `<RoomView />`.

See
* matrix-org#9940
* element-hq/element-web#21968

Signed-off-by: Clark Fischer <clark.fischer@gmail.com>
clarkf added a commit to clarkf/matrix-react-sdk that referenced this pull request Jan 23, 2023
Changes pulled directly from t3chguy's branch. This removes implicit `any`
occurrences in `<RoomView />`.

See
* matrix-org#9940
* element-hq/element-web#21968

Signed-off-by: Clark Fischer <clark.fischer@gmail.com>
clarkf added a commit to clarkf/matrix-react-sdk that referenced this pull request Jan 24, 2023
Changes pulled directly from t3chguy's branch. This removes implicit `any`
occurrences in `<RoomView />`.

See
* matrix-org#9940
* element-hq/element-web#21968

Signed-off-by: Clark Fischer <clark.fischer@gmail.com>
@t3chguy
Copy link
Member Author

t3chguy commented Feb 3, 2023

Blocked on element-hq/element-web#21967

@t3chguy t3chguy added the X-Blocked The PR cannot move forward in any capacity until an action is made label Feb 3, 2023
… t3chguy/fix/21968

# Conflicts:
#	src/Notifier.ts
#	src/SlashCommands.tsx
#	src/components/views/rooms/LinkPreviewWidget.tsx
#	src/components/views/settings/tabs/room/AdvancedRoomSettingsTab.tsx
#	src/components/views/settings/tabs/user/GeneralUserSettingsTab.tsx
#	src/stores/notifications/ThreadNotificationState.ts
#	src/stores/notifications/ThreadsRoomNotificationState.ts
#	src/utils/MessageDiffUtils.tsx
#	test/Notifier-test.ts
#	test/RoomNotifs-test.ts
#	test/components/views/dialogs/AccessSecretStorageDialog-test.tsx
#	test/components/views/messages/MPollBody-test.tsx
#	test/stores/notifications/RoomNotificationStateStore-test.ts
#	test/stores/room-list/SlidingRoomListStore-test.ts
#	test/test-utils/test-utils.ts
#	test/voice-broadcast/utils/test-utils.ts
@t3chguy t3chguy removed the X-Blocked The PR cannot move forward in any capacity until an action is made label Feb 3, 2023
@t3chguy t3chguy changed the title Enable noImplicitAny Comply with noImplicitAny Feb 3, 2023
@t3chguy t3chguy marked this pull request as ready for review February 3, 2023 14:01
Copy link
Contributor

@andybalaam andybalaam left a comment

Choose a reason for hiding this comment

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

I haven't re-checked every file, but still looks good to me.

@t3chguy t3chguy added the X-Blocked The PR cannot move forward in any capacity until an action is made label Feb 3, 2023
@t3chguy
Copy link
Member Author

t3chguy commented Feb 3, 2023

Blocking until after RC cut for stability

@t3chguy t3chguy self-assigned this Feb 3, 2023
… t3chguy/fix/21968

# Conflicts:
#	src/UserActivity.ts
#	src/accessibility/KeyboardShortcutUtils.ts
#	src/createRoom.ts
#	src/editor/parts.ts
#	src/editor/render.ts
#	test/components/views/beacon/OwnBeaconStatus-test.tsx
#	test/components/views/elements/EventListSummary-test.tsx
#	test/components/views/rooms/wysiwyg_composer/components/WysiwygComposer-test.tsx
@t3chguy t3chguy removed the X-Blocked The PR cannot move forward in any capacity until an action is made label Feb 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
T-Task Refactoring, enabling or disabling functionality, other engineering tasks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants