Using the allowJs compiler option, if buffer or send are dependencies, Duplicate identifier errors are reported:
node_modules/buffer/index.js(94,5): error TS2300: Duplicate identifier 'length'.
node_modules/buffer/index.js(95,5): error TS2300: Duplicate identifier 'parent'.
node_modules/buffer/index.js(229,20): error TS2300: Duplicate identifier 'length'.
node_modules/buffer/index.js(230,20): error TS2300: Duplicate identifier 'parent'.
node_modules/send/index.js(203,22): error TS2300: Duplicate identifier 'root'.
node_modules/send/index.js(212,22): error TS2300: Duplicate identifier 'root'.
It seems similar to #6645, but here in addition to this member assignment, prototypes are in play.
Using the allowJs compiler option, if buffer or send are dependencies, Duplicate identifier errors are reported:
It seems similar to #6645, but here in addition to this member assignment, prototypes are in play.