bun-types 1.0.27 → 1.0.28

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.
Files changed (3) hide show
  1. package/bun.d.ts +1 -0
  2. package/package.json +1 -1
  3. package/test.d.ts +1 -0
package/bun.d.ts CHANGED
@@ -1985,6 +1985,7 @@ declare module "bun" {
1985
1985
  * return new Response("Hello World");
1986
1986
  * },
1987
1987
  * });
1988
+ * ```
1988
1989
  */
1989
1990
  interface WebSocketHandler<T = undefined> {
1990
1991
  /**
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.27",
2
+ "version": "1.0.28",
3
3
  "name": "bun-types",
4
4
  "license": "MIT",
5
5
  "main": "",
package/test.d.ts CHANGED
@@ -92,6 +92,7 @@ declare module "bun:test" {
92
92
  interface Jest {
93
93
  restoreAllMocks(): void;
94
94
  fn<T extends (...args: any[]) => any>(func?: T): Mock<T>;
95
+ setSystemTime(now?: number | Date): void;
95
96
  }
96
97
  export const jest: Jest;
97
98
  export namespace jest {