view data fixes
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
import { JsonValue } from "../types/primitives";
|
||||
|
||||
/**
|
||||
* Base interface for ViewData objects
|
||||
*
|
||||
@@ -8,9 +10,8 @@
|
||||
* architectural rule is that these must be plain JSON objects.
|
||||
*/
|
||||
export interface ViewData {
|
||||
[key: string]: any;
|
||||
[key: string]: JsonValue;
|
||||
}
|
||||
|
||||
/**
|
||||
* Helper type to ensure a type is ViewData-compatible
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user