What is the difference between Subscription imports

后端 未结 0 1837
南旧
南旧 2020-11-27 05:34

What is the difference between:

import { Subscription } from \'rxjs\';

and

import { Subscription } from \'rxjs/Subscription\';

相关标签:
回答
  • 消灭零回复
提交回复
热议问题