Enable @typescript-eslint/explicit-member-accessibility on /src (#9785)
* Enable `@typescript-eslint/explicit-member-accessibility` on /src * Prettier
This commit is contained in:
+1
-1
@@ -354,7 +354,7 @@ const topicSanitizeHtmlParams: IExtendedSanitizeOptions = {
|
||||
};
|
||||
|
||||
abstract class BaseHighlighter<T extends React.ReactNode> {
|
||||
constructor(public highlightClass: string, public highlightLink: string) {}
|
||||
public constructor(public highlightClass: string, public highlightLink: string) {}
|
||||
|
||||
/**
|
||||
* apply the highlights to a section of text
|
||||
|
||||
Reference in New Issue
Block a user