Closed
Description
Bug Report
π Search Terms
tslib 4.3 __classPrivateFieldGet
π Version & Regression Information
4.3.0-dev.20210401
- I was unable to test this on prior versions because this is related to a new feature in 4.3
β― Playground Link
I'm unable to provide a playground link, as importHelpers
is not reflecting in the playground, when selected.
Playground link with relevant code
π» Code
/**
* Module utils
*/
export class ModuleUtil {
static #handlers: ModuleHandler[] = [];
/**
* Add module post processor (post-load)
*
* @param handler The code to run on post module load
*/
static addHandler(handler: ModuleHandler) {
this.#handlers.push(handler);
}
π Actual behavior
The typescript compiler is showing the below error:
And I can see in tslib 2.1 that there is no support for more than 2 parameters for __classPrivateFieldGet
. It looks like there is no compatible tslib for the 4.3.0 beta.
π Expected behavior
importHelpers
should be able to work with 4.3.