While deploying my application through Visual Studio, I encountered an error when running "node_modules\webpack\bin\webpack.js --env.prod". Despite adding ("strictNullChecks":false) to my ts.config.json, the issue persists. Any assistance in resolving this matter would be highly appreciated.
Error
ERROR IN AddEmployee.component.html (121,13): Argument of type '"amount"'
is not assignable to parameter of type 'string[]'.
Check out my fetchemployee.component.ts below:
import { Component, Inject, SimpleChange, SimpleChanges } from
'@angular/core';
...
Here is a snippet from my AddEmployee.component.ts:
import { Component, OnInit } from "@angular/core";
import { Http, Headers } from "@angular/http";
...
Lastly, here is the code from AddEmployee.component.html:
<!DOCTYPE html>
<html>
...