mirror of
https://github.com/javascript-obfuscator/javascript-obfuscator
synced 2026-08-09 12:42:29 +00:00
Fixed typings. Now string values correctly assignable to enum-like options
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import 'reflect-metadata';
|
||||
import { TypeFromEnum } from '@gradecam/tsenum';
|
||||
|
||||
import { ServiceIdentifiers } from '../../../src/container/ServiceIdentifiers';
|
||||
|
||||
@@ -23,7 +24,7 @@ function getObfuscatedCode (
|
||||
sourceMap: string,
|
||||
sourceMapBaseUrl: string,
|
||||
sourceMapFileName: string,
|
||||
sourceMapMode: SourceMapMode
|
||||
sourceMapMode: TypeFromEnum<typeof SourceMapMode>
|
||||
): IObfuscatedCode {
|
||||
const inversifyContainerFacade: IInversifyContainerFacade = new InversifyContainerFacade();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user