weboptimizer 2.0.1249 → 2.0.1251

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/ejsLoader.d.ts CHANGED
@@ -2,14 +2,14 @@ import { Encoding, Mapping } from 'clientnode/type';
2
2
  import { Options, TemplateFunction as EJSTemplateFunction } from 'ejs';
3
3
  import { LoaderContext } from 'webpack';
4
4
  import { Extensions, Replacements } from './type';
5
- export declare type PreCompiledTemplateFunction = ((...parameters: Array<unknown>) => string);
6
- export declare type TemplateFunction = EJSTemplateFunction | PreCompiledTemplateFunction;
7
- export declare type CompilerOptions = Options & {
5
+ export type PreCompiledTemplateFunction = ((...parameters: Array<unknown>) => string);
6
+ export type TemplateFunction = EJSTemplateFunction | PreCompiledTemplateFunction;
7
+ export type CompilerOptions = Options & {
8
8
  encoding: Encoding;
9
9
  isString?: boolean;
10
10
  };
11
- export declare type CompileFunction = (template: string, options?: Partial<CompilerOptions>, compileSteps?: number) => TemplateFunction;
12
- export declare type LoaderConfiguration = Mapping<unknown> & {
11
+ export type CompileFunction = (template: string, options?: Partial<CompilerOptions>, compileSteps?: number) => TemplateFunction;
12
+ export type LoaderConfiguration = Mapping<unknown> & {
13
13
  compiler: Partial<CompilerOptions>;
14
14
  compileSteps: number;
15
15
  compress: {