From 63d64472b5f8e5d786dea2eb462b6651b794f02e Mon Sep 17 00:00:00 2001 From: Will Date: Thu, 21 Mar 2019 00:03:50 +0800 Subject: [PATCH] feat(@schematics/angular): add type checking for protractor.conf.js file Fixes #13958 --- .../schematics/angular/e2e/files/protractor.conf.js.template | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/schematics/angular/e2e/files/protractor.conf.js.template b/packages/schematics/angular/e2e/files/protractor.conf.js.template index 9748e3d2930f..73e4e6806cd6 100644 --- a/packages/schematics/angular/e2e/files/protractor.conf.js.template +++ b/packages/schematics/angular/e2e/files/protractor.conf.js.template @@ -1,8 +1,12 @@ +// @ts-check // Protractor configuration file, see link for more information // https://github.com/angular/protractor/blob/master/lib/config.ts const { SpecReporter } = require('jasmine-spec-reporter'); +/** + * @type { import("protractor").Config } + */ exports.config = { allScriptsTimeout: 11000, specs: [