immutable-js-oss / immutable-js

Immutable persistent data collections for Javascript which increase efficiency and simplicity.
https://immutable-js-oss.github.io/immutable-js/
MIT License
37 stars 6 forks source link

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

Closed Methuselah96 closed 4 years ago

Methuselah96 commented 4 years ago

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: https://github.com/immutable-js/immutable-js/issues/1733

Methuselah96 commented 4 years ago

The cursor API has been removed in https://github.com/immutable-js-oss/immutable-js/pull/15.