mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-04 19:56:45 +02:00
Merge pull request #126 from element-hq/renovate/major-eslint-plugins
This commit is contained in:
commit
44c3d767ce
@ -6,7 +6,7 @@ Please see LICENSE files in the repository root for full details.
|
||||
*/
|
||||
|
||||
import type { Room } from "../models/Room";
|
||||
import { Watchable } from "./watchable";
|
||||
import { type Watchable } from "./watchable";
|
||||
|
||||
/**
|
||||
* Modify account data stored on the homeserver.
|
||||
|
||||
@ -5,7 +5,7 @@ SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||
Please see LICENSE files in the repository root for full details.
|
||||
*/
|
||||
|
||||
import { ComponentType } from "react";
|
||||
import { type ComponentType } from "react";
|
||||
|
||||
/**
|
||||
* Options for {@link Api#openDialog}.
|
||||
|
||||
@ -5,7 +5,7 @@ SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||
Please see LICENSE files in the repository root for full details.
|
||||
*/
|
||||
|
||||
import { JSX } from "react";
|
||||
import { type JSX } from "react";
|
||||
|
||||
/**
|
||||
* Properties of an item added to the Space panel
|
||||
|
||||
@ -7,7 +7,7 @@ Please see LICENSE files in the repository root for full details.
|
||||
|
||||
import { expect, test } from "vitest";
|
||||
|
||||
import { Api, isModule } from ".";
|
||||
import { type Api, isModule } from ".";
|
||||
|
||||
const TestModule = {
|
||||
default: class TestModule {
|
||||
|
||||
@ -6,19 +6,19 @@ Please see LICENSE files in the repository root for full details.
|
||||
*/
|
||||
|
||||
import type { Root } from "react-dom/client";
|
||||
import { LegacyModuleApiExtension } from "./legacy-modules";
|
||||
import { LegacyCustomisationsApiExtension } from "./legacy-customisations";
|
||||
import { ConfigApi } from "./config";
|
||||
import { I18nApi } from "./i18n";
|
||||
import { CustomComponentsApi } from "./custom-components";
|
||||
import { NavigationApi } from "./navigation.ts";
|
||||
import { DialogApiExtension } from "./dialog.ts";
|
||||
import { AccountAuthApiExtension } from "./auth.ts";
|
||||
import { ProfileApiExtension } from "./profile.ts";
|
||||
import { ExtrasApi } from "./extras.ts";
|
||||
import { BuiltinsApi } from "./builtins.ts";
|
||||
import { StoresApi } from "./stores.ts";
|
||||
import { ClientApi } from "./client.ts";
|
||||
import { type LegacyModuleApiExtension } from "./legacy-modules";
|
||||
import { type LegacyCustomisationsApiExtension } from "./legacy-customisations";
|
||||
import { type ConfigApi } from "./config";
|
||||
import { type I18nApi } from "./i18n";
|
||||
import { type CustomComponentsApi } from "./custom-components";
|
||||
import { type NavigationApi } from "./navigation.ts";
|
||||
import { type DialogApiExtension } from "./dialog.ts";
|
||||
import { type AccountAuthApiExtension } from "./auth.ts";
|
||||
import { type ProfileApiExtension } from "./profile.ts";
|
||||
import { type ExtrasApi } from "./extras.ts";
|
||||
import { type BuiltinsApi } from "./builtins.ts";
|
||||
import { type StoresApi } from "./stores.ts";
|
||||
import { type ClientApi } from "./client.ts";
|
||||
|
||||
/**
|
||||
* Module interface for modules to implement.
|
||||
|
||||
@ -5,7 +5,7 @@ SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||
Please see LICENSE files in the repository root for full details.
|
||||
*/
|
||||
|
||||
import { JSX } from "react";
|
||||
import { type JSX } from "react";
|
||||
|
||||
/**
|
||||
* A function called to render a component when a user navigates to the corresponding
|
||||
|
||||
@ -5,7 +5,7 @@ SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||
Please see LICENSE files in the repository root for full details.
|
||||
*/
|
||||
|
||||
import { Watchable } from "./watchable.ts";
|
||||
import { type Watchable } from "./watchable.ts";
|
||||
|
||||
/**
|
||||
* The profile of the user currently logged in.
|
||||
|
||||
@ -6,7 +6,7 @@ Please see LICENSE files in the repository root for full details.
|
||||
*/
|
||||
|
||||
import type { Room } from "../models/Room";
|
||||
import { Watchable } from "./watchable";
|
||||
import { type Watchable } from "./watchable";
|
||||
|
||||
/**
|
||||
* Provides some basic functionality of the Room List Store from element-web.
|
||||
|
||||
@ -7,7 +7,7 @@ Please see LICENSE files in the repository root for full details.
|
||||
|
||||
import { expect, test, describe, vi, beforeEach } from "vitest";
|
||||
|
||||
import { Api, ModuleIncompatibleError, ModuleLoader } from ".";
|
||||
import { type Api, ModuleIncompatibleError, ModuleLoader } from ".";
|
||||
|
||||
describe("ModuleIncompatibleError", () => {
|
||||
test("should extend Error", () => {
|
||||
|
||||
@ -7,7 +7,7 @@ Please see LICENSE files in the repository root for full details.
|
||||
|
||||
import { satisfies } from "semver";
|
||||
|
||||
import { Api, isModule, Module, ModuleExport } from "./api";
|
||||
import { type Api, isModule, type Module, type ModuleExport } from "./api";
|
||||
|
||||
/**
|
||||
* Error thrown when a module is incompatible with the engine version.
|
||||
|
||||
@ -5,7 +5,7 @@ SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||
Please see LICENSE files in the repository root for full details.
|
||||
*/
|
||||
|
||||
import { Watchable } from "../api/watchable";
|
||||
import { type Watchable } from "../api/watchable";
|
||||
|
||||
/**
|
||||
* Represents a room from element-web.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user