I've run into some build errors in my TypeScript project in Visual Studio 2015. Despite the application working fine in the browser, I'm unable to publish it due to these errors.
export var AddedFields: Array<Array<Field>[]>[];
myGlobals.AddedFields[1][1] = new Field(newField.id, newField.label, newField.type, 0, 0);
The specific error message is:
Error TS2322 Build:Type 'Field' is not assignable to type 'Field[][]'. \Projects\angular2-systemjs-dotnet-core-master\src\TestAngular2\wwwroot\app\components\form-layout.component.ts 40 Build
Can anyone help me pinpoint where I may be going wrong?