mirror of
https://github.com/zhigang1992/firecms.git
synced 2026-06-14 17:49:00 +08:00
10 lines
306 B
TypeScript
10 lines
306 B
TypeScript
import { expectType } from "tsd";
|
|
import { EntityValues } from "./models";
|
|
import { initEntityValues } from "./models/firestore";
|
|
import { productSchema } from "./test/test_site_config";
|
|
|
|
|
|
const values = initEntityValues(productSchema);
|
|
const a:number = values.name;
|
|
expectType<EntityValues<any>>(values);
|