e22m4u 2 лет назад
Родитель
Сommit
567316877c
1 измененных файлов с 2 добавлено и 14 удалено
  1. 2 14
      src/types.d.ts

+ 2 - 14
src/types.d.ts

@@ -9,22 +9,10 @@ export declare type AnyObject = {
  * Model data.
  */
 export declare type ModelData = {
-  [property: string]: PropertyData;
+  [property: string]: unknown;
 };
 
-/**
- * Property data.
- */
-export type PropertyData =
-  | PropertyData[]
-  | ModelData
-  | string
-  | number
-  | boolean
-  | null
-  | undefined;
-
 /**
  * Identifier.
  */
-export declare type Identifier = number | string;
+export declare type Identifier = unknown;