@rimori/client 2.5.16 → 2.5.17-next.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.
@@ -108,7 +108,7 @@ export type UserRole = 'user' | 'plugin_moderator' | 'lang_moderator' | 'admin';
108
108
  export declare const LEARNING_REASONS: readonly ["work", "partner", "friends", "study", "living", "culture", "growth", "citizenship", "other"];
109
109
  export type LearningReason = (typeof LEARNING_REASONS)[number];
110
110
  export type ExplicitUndefined<T> = {
111
- [K in keyof T]-?: T[K] | undefined;
111
+ [K in Exclude<keyof T, never>]-?: {} extends Pick<T, K> ? T[K] | undefined : T[K];
112
112
  };
113
113
  export interface UserInfo {
114
114
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rimori/client",
3
- "version": "2.5.16",
3
+ "version": "2.5.17-next.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "repository": {