web: fix TS constructor arguments shorthand
Created by: valerybugakov
The issue was caused by the Babel plugins order: https://github.com/babel/babel/issues/8752. It resulted in skipping constructor arguments assignments. That's why this.key
in LocalStorageSubject
was always undefined
. This PR fixes the issue. Also discussed in Storybook repo: https://github.com/storybookjs/storybook/issues/13834.
Closes #20265.