Mirror: The highly customizable and versatile GraphQL client with which you add on features like normalized caching as you grow.
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix(core): Fix `@ts-ignore` directive on TS import in type declaration output (#3567)

authored by

Phil Pluckthun and committed by
GitHub
1805b920 3f573fb9

+6 -1
+5
.changeset/lucky-timers-hear.md
··· 1 + --- 2 + '@urql/core': patch 3 + --- 4 + 5 + Fix `@ts-ignore` on TypeScript peer dependency import in typings not being applied due to a leading `!` character.
+1 -1
scripts/rollup/cleanup-plugin.mjs
··· 12 12 if (dtsFilter(chunk.fileName)) { 13 13 return input 14 14 .replace(emptyImportRe, '') 15 - .replace(gqlImportRe, x => '/*!@ts-ignore*/\n' + x); 15 + .replace(gqlImportRe, x => '/*@ts-ignore*/\n' + x); 16 16 } 17 17 }, 18 18 };