Sv443 пре 3 месеци
родитељ
комит
f63e7223bc
2 измењених фајлова са 2 додато и 2 уклоњено
  1. 1 1
      README-summary.md
  2. 1 1
      README.md

+ 1 - 1
README-summary.md

@@ -163,7 +163,7 @@ Shameless plug: I made a [template for userscripts in TypeScript](https://github
 
 <br>
 
-- If you're using TypeScript and it complains about the missing global variable `UserUtils`, install the library using the package manager of your choice and add the following inside a `.d.ts` file somewhere in the directory (or a subdirectory) defined in your `tsconfig.json`'s `baseUrl` option or `include` array:
+- If you're using TypeScript and it complains about the missing global variable `UserUtils`, install the library using the package manager of your choice and add the following inside any `.ts` file that is included in the final build:  
     ```ts
     declare const UserUtils: typeof import("@sv443-network/userutils");
 

+ 1 - 1
README.md

@@ -170,7 +170,7 @@ Shameless plug: I made a [template for userscripts in TypeScript](https://github
 
 <br>
 
-- If you're using TypeScript and it complains about the missing global variable `UserUtils`, install the library using the package manager of your choice and add the following inside a `.d.ts` file somewhere in the directory (or a subdirectory) defined in your `tsconfig.json`'s `baseUrl` option or `include` array:  
+- If you're using TypeScript and it complains about the missing global variable `UserUtils`, install the library using the package manager of your choice and add the following inside any `.ts` file that is included in the final build:  
   
   ```ts
   declare const UserUtils: typeof import("@sv443-network/userutils");