immutable-js-oss/immutable-js

contrib/cursor/index.ts has a syntax error!

Closed this issue · 1 comments

From @divinitas-art on Wed, 18 Sep 2019 17:22:24 GMT

typeof console === 'object' && console.warn && console.warn(
  'The Cursor API is deprecated and will be removed in a future major release.\n' +
  '\n' +
  'It is strongly suggested that you use the excellent `immutable-cursor` module\n' +
  'which has an extremely similar API but is much higher quality.\n' +
  '\n' +
  'https://github.com/redbadger/immutable-cursor\n' +
);

last string line has "+" that shouldnt be there, it majorly fucks up compilation of some things...

Copied from original issue: immutable-js#1733

The cursor API has been removed in #15.