Update dependency prettier to v3 (#12095)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
co-authored by
renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Michael Telatynski
parent
773b03e15e
commit
a0c8575113
@@ -28,7 +28,10 @@ import { TimelineRenderingType } from "../contexts/RoomContext";
|
||||
const AT_ROOM_REGEX = /@\S*/g;
|
||||
|
||||
export default class NotifProvider extends AutocompleteProvider {
|
||||
public constructor(public room: Room, renderingType?: TimelineRenderingType) {
|
||||
public constructor(
|
||||
public room: Room,
|
||||
renderingType?: TimelineRenderingType,
|
||||
) {
|
||||
super({ commandRegex: AT_ROOM_REGEX, renderingType });
|
||||
}
|
||||
|
||||
|
||||
@@ -57,7 +57,10 @@ function matcherObject(
|
||||
export default class RoomProvider extends AutocompleteProvider {
|
||||
protected matcher: QueryMatcher<ReturnType<typeof matcherObject>>;
|
||||
|
||||
public constructor(private readonly room: Room, renderingType?: TimelineRenderingType) {
|
||||
public constructor(
|
||||
private readonly room: Room,
|
||||
renderingType?: TimelineRenderingType,
|
||||
) {
|
||||
super({ commandRegex: ROOM_REGEX, renderingType });
|
||||
this.matcher = new QueryMatcher<ReturnType<typeof matcherObject>>([], {
|
||||
keys: ["displayedAlias", "matchName"],
|
||||
|
||||
Reference in New Issue
Block a user