fix: add ts-expect-error for invalid trace-mapping type

Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
pull/8362/head
Dominik G 4 years ago committed by GitHub
parent f42aa9c6a3
commit d89022fb6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,3 +1,4 @@
// TODO: remove after https://github.com/jridgewell/trace-mapping/pull/24 has been merged
// @ts-expect-error Svelte 3's ancient TS version can't look up the types for this package properly yet // @ts-expect-error Svelte 3's ancient TS version can't look up the types for this package properly yet
import { TraceMap, originalPositionFor } from '@jridgewell/trace-mapping'; import { TraceMap, originalPositionFor } from '@jridgewell/trace-mapping';
import { walk } from 'estree-walker'; import { walk } from 'estree-walker';

Loading…
Cancel
Save