Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

pages/docs to ts

kruzhambus3807b76124ae
diff --git a/src/pages/Docs/examples.js b/src/pages/Docs/examples.ts
similarity index 91%
rename from src/pages/Docs/examples.js
rename to src/pages/Docs/examples.ts
index cf36d5860..db39b1353 100644
--- a/src/pages/Docs/examples.js
+++ b/src/pages/Docs/examples.ts
@@ -27,7 +27,7 @@ export const umdBuildExample = `<!-- Put this at the end of the <head> tag -->
</noscript>
`
-export const getUMDBuildExample = (pid) => `<!-- Put this at the end of the <body> tag -->
+export const getUMDBuildExample = (pid: string) => `<!-- Put this at the end of the <body> tag -->
<script src="https://swetrix.org/swetrix.js" defer></script>
<script>
document.addEventListener('DOMContentLoaded', function() {