Repository navigation
Tags
Tags
fix(typescript): fix error type compilation with skipLibCheck:fals an… …d without hammerjs (#1631) * fix(typescript): fix error type compilation with skipLibCheck:false and without hammerjs * fix(shared): import Hammer types explicitly from @egjs/hammerjs We use @egjs/hammerjs which reexports hammerjs types but it's still more correct to use it in declarations too. --------- Co-authored-by: Tomina <tomina@vycital.eu>
fix(typescript): add support for TypeScript 6 (#1711) * test(typescript): remove check-dts We only used it to test 4 type errors over the years and is quite glitchy, I wasn't able to get it to work with TypeScript 6 (nodenext module resolution is forced somehow, no way to supply custom tsconfig, file selection is broken). This is not worth the hassle. * refactor(typescript): reconfigure for compatiblity with TypeScript 6 * fix(typescript): add support for TypeScript 6
fix(deep-object-assign): handle date merging as expected (#1386) vis-util (used by vis-data, used in turn by vis-timeline) has some cloning/merging logic that works fine with primitives, Arrays, and Objects, but not so well with anything else. Ideally, it'd be nice if there was a generalizable fix for this that worked with arbitrary classes, but dates are common, at least in the vis-timeline case, and with the tests provided, are now guaranteed to work. There's also an unrelated cross-env change that I needed to make the BABEL_ENV thing in package.json work on Windows, but I suppose we can drop that if it's unwanted. This should cover visjs/vis-data#1014 and visjs/vis-timeline#1562 .
PreviousNext