@ -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`;
|
||||
}
|
||||
|
Reference in New Issue
Block a user