@ronin/compiler 0.17.1-leo-ron-1099-experimental-378 → 0.17.1-leo-ron-1099-experimental-379
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/dist/index.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
@@ -324,7 +324,7 @@ type ModelPreset = {
|
|
324
324
|
};
|
325
325
|
type ModelEntityList<T extends {
|
326
326
|
slug: string;
|
327
|
-
}> = Record<NonNullable<T['slug']>, Omit<
|
327
|
+
}> = Record<NonNullable<T['slug']>, T extends infer U ? Omit<U, 'slug'> : never>;
|
328
328
|
interface Model<T extends ModelEntityList<ModelField> = ModelEntityList<ModelField>> {
|
329
329
|
id: string;
|
330
330
|
name: string;
|
package/package.json
CHANGED