TypeScript 6.0 is a transition release bridging 5.9 and the forthcoming 7.0 (a native Go port). Most changes are new defaults and deprecations preparing for 7.0. Here is what you need to do:
Most projects need these tsconfig changes:
TypeScript 6.0 is a transition release bridging 5.9 and the forthcoming 7.0 (a native Go port). Most changes are new defaults and deprecations preparing for 7.0. Here is what you need to do:
Most projects need these tsconfig changes:
| window.VueLifecycleTap = ['beforeCreate', 'created', 'beforeMount', 'mounted', 'beforeUpdate', 'updated', 'beforeDestroy', 'destroyed'].reduce((agg, curr) => { | |
| agg[curr] = function() { | |
| console.log(`uid: ${this._uid} -`, curr); | |
| }; | |
| return agg; | |
| }, {}); |
| (function BFS(obj, lookingFor, maxFinds = 100, maxDuration = 3) { | |
| console.log('Traversing', obj, 'to find', lookingFor); | |
| let findCount = 0; | |
| let timedOut = false; | |
| let queue = [[obj, '']]; | |
| setTimeout(() => (timedOut = true), maxDuration * 1000); |
| var reload = (function () { | |
| 'use strict'; | |
| var cache = {}; | |
| var refresh = {}; | |
| var execCb = window.requirejs.s.contexts._.execCb; | |
| window.requirejs.s.contexts._.execCb = function (name, callback) { |
{ "compilerOptions": { "types": ["node"], // @types are no longer auto-discovered (see §1.6)