This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { FormGroup, FormControl, FormBuilder, AbstractControl } from '@angular/forms'; | |
export type FormGroupControlsOf<T> = { | |
[P in keyof T]: FormControl | FormGroup; | |
}; | |
export abstract class FormGroupTypeSafe<T> extends FormGroup { | |
//give the value a custom type s | |
value: T; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let fs = require("fs-jetpack"), | |
path = require("path"), | |
inline = require("inline-css"); | |
// This inlines the css of the HTML coverage output as VSTS | |
// strips all external CSS files | |
const CODE_COVERAGE_DIRECTORY = "./coverage"; | |
const files = fs.find(CODE_COVERAGE_DIRECTORY, { matching: "*.html" }); |