visjs/vis-data

#private declaration in dts messes up es5 builds

perara opened this issue ยท 1 comments

Hi,
In versions >= 7.0.0, the added #private declaration breaks es5 builds.

ERROR in node_modules/vis-data/declarations/queue.d.ts:40:5 - error TS18028: Private identifiers are only available when targeting ECMAScript 2015 and higher.

40     #private;
       ~~~~~~~~
node_modules/vis-data/declarations/data-set-part.d.ts:9:5 - error TS18028: Private identifiers are only available when targeting ECMAScript 2015 and higher.

9     #private;
      ~~~~~~~~
node_modules/vis-data/declarations/data-stream.d.ts:13:5 - error TS18028: Private identifiers are only available when targeting ECMAScript 2015 and higher.

13     #private;
       ~~~~~~~~
node_modules/vis-data/declarations/data-set.d.ts:92:5 - error TS18028: Private identifiers are only available when targeting ECMAScript 2015 and higher.

92     #private;
       ~~~~~~~~
node_modules/vis-data/declarations/data-pipe.d.ts:75:5 - error TS18028: Private identifiers are only available when targeting ECMAScript 2015 and higher.

75     #private;
       ~~~~~~~~
node_modules/vis-data/declarations/data-view.d.ts:65:5 - error TS18028: Private identifiers are only available when targeting ECMAScript 2015 and higher.

65     #private;
       ~~~~~~~~

Not sure if this is something that is expected, or if you are to support es5 builds. Alternatively, how should one proceed to fix this issue?

๐ŸŽ‰ This issue has been resolved in version 7.1.1 ๐ŸŽ‰

The release is available on:

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€