Update all non-major dependencies (#9766)
* Update all non-major dependencies * Prettier * Revert axe-core * Revert axe-core --------- 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:
@@ -27,7 +27,7 @@ interface IProps {
|
||||
onFinished: (success: boolean) => void;
|
||||
}
|
||||
|
||||
type State = Partial<Record<typeof REPOS[number], null | string | Commit[]>>;
|
||||
type State = Partial<Record<(typeof REPOS)[number], null | string | Commit[]>>;
|
||||
|
||||
interface Commit {
|
||||
sha: string;
|
||||
@@ -46,7 +46,7 @@ export default class ChangelogDialog extends React.Component<IProps, State> {
|
||||
this.state = {};
|
||||
}
|
||||
|
||||
private async fetchChanges(repo: typeof REPOS[number], oldVersion: string, newVersion: string): Promise<void> {
|
||||
private async fetchChanges(repo: (typeof REPOS)[number], oldVersion: string, newVersion: string): Promise<void> {
|
||||
const url = `https://riot.im/github/repos/${repo}/compare/${oldVersion}...${newVersion}`;
|
||||
|
||||
try {
|
||||
|
||||
@@ -26,7 +26,7 @@ const HIGH_CONTRAST_THEMES: Record<string, string> = {
|
||||
light: "light-high-contrast",
|
||||
};
|
||||
|
||||
interface IFontFaces extends Omit<Record<typeof allowedFontFaceProps[number], string>, "src"> {
|
||||
interface IFontFaces extends Omit<Record<(typeof allowedFontFaceProps)[number], string>, "src"> {
|
||||
src: {
|
||||
format: string;
|
||||
url: string;
|
||||
@@ -145,9 +145,9 @@ function generateCustomFontFaceCSS(faces: IFontFaces[]): string {
|
||||
return "";
|
||||
})
|
||||
.join(", ");
|
||||
const props = Object.keys(face).filter((prop: typeof allowedFontFaceProps[number]) =>
|
||||
const props = Object.keys(face).filter((prop: (typeof allowedFontFaceProps)[number]) =>
|
||||
allowedFontFaceProps.includes(prop),
|
||||
) as Array<typeof allowedFontFaceProps[number]>;
|
||||
) as Array<(typeof allowedFontFaceProps)[number]>;
|
||||
const body = props
|
||||
.map((prop) => {
|
||||
let value: string;
|
||||
|
||||
Reference in New Issue
Block a user