@company-semantics/contracts 47.1.0 → 47.1.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@company-semantics/contracts",
3
- "version": "47.1.0",
3
+ "version": "47.1.1",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
@@ -303,9 +303,15 @@ type Assert<T extends true> = T;
303
303
  * The false branch resolves to the UNROUTED LITERALS rather than to `false`, so
304
304
  * the diagnostic names the culprit:
305
305
  * `Type '"directGrants"' does not satisfy the constraint 'true'`.
306
- * Deliberately unexported: this is an assertion, not vocabulary.
306
+ *
307
+ * EXPORTED, though nothing consumes it. This package ships `src`, so every
308
+ * consumer typechecks this file under ITS OWN compiler options — and the
309
+ * backend sets `noUnusedLocals`, which rejects an unexported type alias that
310
+ * nothing references. Keeping it private broke `tsc` in a consumer while
311
+ * passing here, so the export is what makes the assertion portable, not a
312
+ * widening of the public vocabulary. Do not "tidy" it away.
307
313
  */
308
- type _EveryResourceKeyIsRouted = Assert<
314
+ export type RoutingExhaustivenessWitness = Assert<
309
315
  [Exclude<ResourceKey["type"], RoutedType>] extends [never]
310
316
  ? true
311
317
  : Exclude<ResourceKey["type"], RoutedType>