@testgorilla/tgo-typing-test 2.0.2 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { MonkeyTypes } from '../types/types';
1
+ import { MonkeyTypes, Timeout } from '../types/types';
2
2
  export declare const QuoteNetworkErrorMessage = "Text not loading.";
3
3
  export declare function emitQuoteNetworkError(): void;
4
4
  export declare const QuoteNetworkError$: import("rxjs").Observable<string>;
@@ -51,7 +51,7 @@ export declare function cleanTypographySymbols(textToClean: string): string;
51
51
  export declare function isUsernameValid(name: string): boolean;
52
52
  export declare function mapRange(x: number, in_min: number, in_max: number, out_min: number, out_max: number): number;
53
53
  export declare function canQuickRestart(mode: string, words: number, time: number, CustomText: MonkeyTypes.CustomText): boolean;
54
- export declare function clearTimeouts(timeouts: (number | NodeJS.Timeout)[]): void;
54
+ export declare function clearTimeouts(timeouts: Timeout[]): void;
55
55
  export declare function setCharAt(str: string, index: number, chr: string): string;
56
56
  export declare function regexIndexOf(string: string, regex: RegExp, startpos: number): number;
57
57
  export declare function convertRGBtoHEX(rgb: string): string | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@testgorilla/tgo-typing-test",
3
- "version": "2.0.2",
3
+ "version": "3.0.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">= 19.0.0 < 20.0.0",
6
6
  "@angular/core": ">= 19.0.0 < 20.0.0",