typescript - Module "@types/immutability-helper/index"' has no default export.

风影

2017-12-30T06:19:45Z||2017-12-30T06:19:45Z

不要用:

import update from 'immutability-helper';

改成:

import * as update from 'immutability-helper';