$ tree -I node_modules
.
├── package.json
├── package-lock.json
├── tsconfig.json
└── wwwroot
└── app
├── r2
│ ├── index.d.ts
│ ├── index.js
│ ├── index.js.map
│ └── index.ts
└── test
├── index.d.ts
├── index.js
├── index.js.map
└── index.ts
4 directories, 11 files
$ cat wwwroot/app/r2/index.ts
import Test from '../test/index';
class R2 extends Test {
}
export { R2 };
$ cat wwwroot/app/r2/index.js
import Test from '../test/index';
class R2 extends Test {
}
export { R2 };
//# sourceMappingURL=index.js.map
[2,3,1,4,5].sort((a,b) => (a > b))
Хочешь активно вмешиваться, не выставляй флаг пассивности в addEventListener-е