Closed shelakel closed 5 years ago
Either combine it with babel (recommended) or enable downlevelIteration
@KaelWD I've confirmed this issue has been resolved in TypeScript 3.6 without downlevelIteration
- see https://github.com/microsoft/TypeScript/pull/31166
Environment
Vuetify Version: 2.0.7 Last working version: 1.5.17 Vue Version: 2.6.10 Browsers: Chrome 76.0.3809.100 OS: Windows 10
Steps to reproduce
Expected Behavior
The VMenu opens when clicked (via activator)
Actual Behavior
Nothing happens and a console error is logged:
Uncaught TypeError: document.getElementsByClassName(...).concat is not a function
Reproduction Link
http://www.typescriptlang.org/play/?target=1#code/PTAEDcFcFMBcEsBmBPYAbeAjYBbeAPeAOwGdgTYBDAYwGtLM1pyq6GnhiATafAOgBWJAFwBmAJwAoEKBxwAFgHsuI0AHM4AWUr4AWgEkiPfNLBdF1SHKKw+G2AFEm12CQBCyAMJpKJEgDlKOVAAJzhIENJQSlAmNRpkUAAJABVNABlPRTQmagRFIlAAd3l4anlQc2gSIgByWFASSAAHZsUQhr5qAupKWFNQACVIG3hg6BCQ9uFQAFUiXsg1eQaU5GboB0npyosraBs7OCdoF3cvHz9AuQAKPnuASi6evtB4ElAiRQaYxBG8+AFSTdUg-AHgTbOA6uUAAXlAAG17nxzJYXEdHFCbOdvL4AkFoDdauAALTWSAAfQpINg0JJJJoCAhtQeABpQMjUftDvYTmcPLirgSiaSuPBKGhFGoqTS6QzwdAWQBdADcoBkAHE4KAAF4k7i8UCIdrRHLRBWVcWStQkIA
Other comments
Target es5 transpiles:
to:
Legacy HTMLCollection doesn't support concat. Can be replaced with (not optimal):
A similar issue may be present where other array-like collections are used.