* @gradecam/tsenum replaced with an internal implementation

* Optimized performance of `ExpressionStatementsMergeTransformer` when `simplify` option is enabled
This commit is contained in:
sanex
2020-10-11 14:06:50 +03:00
parent b463f774c8
commit 381fd18177
28 changed files with 312 additions and 121 deletions
@@ -1,10 +1,11 @@
import 'reflect-metadata';
import { TypeFromEnum } from '@gradecam/tsenum';
import { ServiceIdentifiers } from '../../../src/container/ServiceIdentifiers';
import { assert } from 'chai';
import { TTypeFromEnum } from '../../../src/types/utils/TTypeFromEnym';
import { IInversifyContainerFacade } from '../../../src/interfaces/container/IInversifyContainerFacade';
import { IObfuscatedCode } from '../../../src/interfaces/source-code/IObfuscatedCode';
@@ -24,7 +25,7 @@ function getObfuscatedCode (
sourceMap: string,
sourceMapBaseUrl: string,
sourceMapFileName: string,
sourceMapMode: TypeFromEnum<typeof SourceMapMode>
sourceMapMode: TTypeFromEnum<typeof SourceMapMode>
): IObfuscatedCode {
const inversifyContainerFacade: IInversifyContainerFacade = new InversifyContainerFacade();