style: enable import-x/no-duplicates (#6279)

This commit is contained in:
EYHN
2024-03-25 03:55:32 +00:00
parent 7ce2bfbf0b
commit f2adbdaba4
342 changed files with 881 additions and 1033 deletions
@@ -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 {
+2 -2
View File
@@ -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()