build: reformat repo to new clang@1.4.0 (#36628)

PR Close #36628
This commit is contained in:
Joey Perrott
2020-04-13 17:43:52 -07:00
committed by atscott
parent 4b3f9ac739
commit 26f49151e7
1163 changed files with 31727 additions and 24036 deletions

View File

@ -7,6 +7,8 @@
*/
export function supportFeature(Observable: any, method: string) {
const func = function() { return !!Observable.prototype[method]; };
const func = function() {
return !!Observable.prototype[method];
};
(func as any).message = `Observable.${method} not support`;
}