build: allow users to specify --strictNullChecks (#14382)

PR Close #14382
This commit is contained in:
Alex Eagle
2017-02-08 19:50:16 -08:00
committed by Miško Hevery
parent 96073e51c3
commit 03e855ae8f
8 changed files with 72 additions and 54 deletions

View File

@ -14,18 +14,17 @@ import {DomAdapter} from '../dom/dom_adapter';
*
* @experimental
*/
export interface MetaDefinition {
charset?: string;
content?: string;
httpEquiv?: string;
id?: string;
itemprop?: string;
export type MetaDefinition = {
charset?: string; content?: string; httpEquiv?: string; id?: string; itemprop?: string;
name?: string;
property?: string;
scheme?: string;
url?: string;
} &
{
// TODO(IgorMinar): this type looks wrong
[prop: string]: string;
}
};
/**
* A service that can be used to get and add meta tags.