We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dfeb085 commit 578d257Copy full SHA for 578d257
docs/tutorialkit.dev/src/components/Layout/Head.astro
@@ -9,6 +9,15 @@ import Default from '@astrojs/starlight/components/Head.astro';
9
<script is:inline async src="https://www.googletagmanager.com/gtag/js?id=G-64MFE82HG5"></script>
10
11
<script is:inline>
12
+ /**
13
+ * We have all those @ts-ignore because the latest version of @astro/language-server
14
+ * type check all scripts even if they are interpreted as JavaScript by the language
15
+ * server.
16
+ *
17
+ * Given this script is kinda considered as external, we should do minimal changes
18
+ * to it. Adding a single `@ts-nocheck` didn't work :'(
19
+ */
20
+
21
// @ts-ignore
22
window.dataLayer = window.dataLayer || [];
23
0 commit comments