Browse Source

remove redundant interface

sanex3339 8 năm trước cách đây
mục cha
commit
6f2faffa7b

+ 1 - 3
src/container/ServiceIdentifiers.ts

@@ -1,6 +1,4 @@
-import { IContainerServiceIdentifiers } from '../interfaces/container/IContainerServiceIdentifiers';
-
-export const ServiceIdentifiers: IContainerServiceIdentifiers = {
+export const ServiceIdentifiers = {
     'Factory<ICalleeDataExtractor>': Symbol('Factory<ICalleeDataExtractor>'),
     'Factory<IControlFlowReplacer>': Symbol('Factory<IControlFlowReplacer>'),
     'Factory<ICustomNode>': Symbol('Factory<ICustomNode>'),

+ 0 - 26
src/interfaces/container/IContainerServiceIdentifiers.d.ts

@@ -1,26 +0,0 @@
-import { interfaces } from 'inversify';
-
-export interface IContainerServiceIdentifiers {
-    'Factory<ICalleeDataExtractor>': interfaces.ServiceIdentifier<any>;
-    'Factory<IControlFlowReplacer>': interfaces.ServiceIdentifier<any>;
-    'Factory<ICustomNode>': interfaces.ServiceIdentifier<any>;
-    'Factory<ICustomNodesFactory>': interfaces.ServiceIdentifier<any>;
-    'Factory<INodeTransformer[]>': interfaces.ServiceIdentifier<any>;
-    'Factory<IObfuscationResult>': interfaces.ServiceIdentifier<any>;
-    'Factory<IReplacer>': interfaces.ServiceIdentifier<any>;
-    ICalleeDataExtractor: interfaces.ServiceIdentifier<any>;
-    IControlFlowReplacer: interfaces.ServiceIdentifier<any>;
-    ICustomNode: interfaces.ServiceIdentifier<any>;
-    ICustomNodesFactory: interfaces.ServiceIdentifier<any>;
-    IJavaScriptObfuscator: interfaces.ServiceIdentifier<any>;
-    INodeTransformer: interfaces.ServiceIdentifier<any>;
-    IObfuscationEventEmitter: interfaces.ServiceIdentifier<any>;
-    IObfuscationResult: interfaces.ServiceIdentifier<any>;
-    IObfuscator: interfaces.ServiceIdentifier<any>;
-    IOptions: interfaces.ServiceIdentifier<any>;
-    IReplacer: interfaces.ServiceIdentifier<any>;
-    ISourceMapCorrector: interfaces.ServiceIdentifier<any>;
-    IStackTraceAnalyzer: interfaces.ServiceIdentifier<any>;
-    'IStorage<ICustomNode>': interfaces.ServiceIdentifier<any>;
-    [key: string]: interfaces.ServiceIdentifier<any>;
-}