object-shape-tester
Version:
Test object properties and value types.
21 lines (20 loc) • 832 B
TypeScript
/**
* A special key string which is used to tag `ShapeDefinition` instances so that we know they're
* shape definitions instead of part of the shape itself.
*
* This should be a symbol, but TypeScript errors out about "using names that cannot be named" in
* that case.
*
* @category Internal
*/
export declare const isShapeDefinitionKey = "__vir__shape__definition__key__do__not__use__in__actual__objects";
/**
* A special key string which is used to tag `ShapeSpecifier` instances so that we know they're
* shape shape specifiers instead of part of the shape itself.
*
* This should be a symbol, but TypeScript errors out about "using names that cannot be named" in
* that case.
*
* @category Internal
*/
export declare const isShapeSpecifierKey = "__vir__shape__specifier__key__do__not__use__in__actual__objects";