mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-09-02 22:59:56 +08:00
style: enable import-x/no-duplicates (#6279)
This commit is contained in:
@@ -6,10 +6,10 @@ import {
|
||||
ServiceNotFoundError,
|
||||
} from './error';
|
||||
import { parseIdentifier } from './identifier';
|
||||
import {
|
||||
type GeneralServiceIdentifier,
|
||||
type ServiceIdentifierValue,
|
||||
type ServiceVariant,
|
||||
import type {
|
||||
GeneralServiceIdentifier,
|
||||
ServiceIdentifierValue,
|
||||
ServiceVariant,
|
||||
} from './types';
|
||||
|
||||
export interface ResolveOptions {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import React, { useContext } from 'react';
|
||||
|
||||
import type { ServiceProvider } from '../core';
|
||||
import { type GeneralServiceIdentifier, ServiceCollection } from '../core';
|
||||
import type { GeneralServiceIdentifier, ServiceProvider } from '../core';
|
||||
import { ServiceCollection } from '../core';
|
||||
|
||||
export const ServiceProviderContext = React.createContext(
|
||||
ServiceCollection.EMPTY.provider()
|
||||
|
||||
Reference in New Issue
Block a user