@schematichq/schematic-react 1.18.0 → 1.18.1

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.
@@ -11577,7 +11577,7 @@ function staticSource(data) {
11577
11577
  }
11578
11578
 
11579
11579
  // src/version.ts
11580
- var version2 = "1.18.0";
11580
+ var version2 = "1.18.1";
11581
11581
 
11582
11582
  // src/context/schematic.tsx
11583
11583
  var import_jsx_runtime4 = require("react/jsx-runtime");
@@ -7428,8 +7428,14 @@ export declare type Traits = Record<string, any>;
7428
7428
  * Returning `undefined` means "no translation" and the caller falls back to
7429
7429
  * its English default. Elements also pass a sentinel `defaultValue`, so a stack
7430
7430
  * that answers every key with something still reports a real miss.
7431
+ *
7432
+ * Two signatures, not one with optional `vars`: i18next 27's `t` has separate
7433
+ * `(key)` and `(key, options)` overloads, and only this shape accepts it.
7431
7434
  */
7432
- export declare type Translate = (key: string, vars?: Record<string, unknown>) => string | undefined;
7435
+ export declare interface Translate {
7436
+ (key: string): string | undefined;
7437
+ (key: string, vars: Record<string, unknown>): string | undefined;
7438
+ }
7433
7439
 
7434
7440
  /**
7435
7441
  *
@@ -11500,7 +11500,7 @@ function staticSource(data) {
11500
11500
  }
11501
11501
 
11502
11502
  // src/version.ts
11503
- var version2 = "1.18.0";
11503
+ var version2 = "1.18.1";
11504
11504
 
11505
11505
  // src/context/schematic.tsx
11506
11506
  import { jsx as jsx4 } from "react/jsx-runtime";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@schematichq/schematic-react",
3
- "version": "1.18.0",
3
+ "version": "1.18.1",
4
4
  "main": "dist/schematic-react.cjs.js",
5
5
  "module": "dist/schematic-react.esm.js",
6
6
  "types": "dist/schematic-react.d.ts",