File tree Expand file tree Collapse file tree 3 files changed +6472
-5860
lines changed Expand file tree Collapse file tree 3 files changed +6472
-5860
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ export function serveCordova(
4848 devServerTargetOptions . port = port ;
4949 devServerTargetOptions . host = host ;
5050 devServerTargetOptions . ssl = ssl ;
51- // tslint:disable-next-line: no-unnecessary-type-assertion
51+
5252 const formattedOptions = ( await context . validateOptions (
5353 devServerTargetOptions ,
5454 devServerName ,
@@ -64,7 +64,7 @@ export function serveCordova(
6464 switchMap ( ( { formattedOptions, formattedAssets } ) =>
6565 executeDevServerBuilder (
6666 formattedOptions ,
67- context ,
67+ context as any ,
6868 getTransforms ( formattedAssets , context ) ,
6969 ) ,
7070 ) ,
@@ -106,7 +106,7 @@ const cordovaServeTransform: (
106106 } ) ;
107107
108108 // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
109- browserWebpackConfig . plugins ! . push (
109+ ( browserWebpackConfig . plugins as any ) ? .push (
110110 ...scriptExtras ,
111111 copyWebpackPluginInstance ,
112112 ) ;
You can’t perform that action at this time.
0 commit comments