tslint编译问题-内存溢出

public selectedSubject: Subject<{
id: string,
music: string,
title: string,
user_tag_id: string,
user_token: string
}> = new Subject();
 
改 public selectedSubject: Subject<any> = new Subject();
 
如果返回对象数据结构不一致 本地汇报内存溢出 
this.audioService.selectedSubject.next({
...music
});
原文地址:https://www.cnblogs.com/aisiqi-love/p/10180786.html