@travetto/transformer 2.1.3 → 2.1.4
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/package.json +1 -1
- package/src/resolver/types.ts +6 -1
package/package.json
CHANGED
package/src/resolver/types.ts
CHANGED
|
@@ -141,7 +141,12 @@ export interface PointerType extends Type<'pointer'> {
|
|
|
141
141
|
target: Exclude<AnyType, PointerType>;
|
|
142
142
|
}
|
|
143
143
|
|
|
144
|
-
|
|
144
|
+
/**
|
|
145
|
+
* Unknown type, should default to object
|
|
146
|
+
*/
|
|
147
|
+
export interface UnknownType extends Type<'unknown'> { }
|
|
148
|
+
|
|
149
|
+
export type AnyType = TupleType | ShapeType | UnionType | LiteralType | ExternalType | PointerType | UnknownType;
|
|
145
150
|
|
|
146
151
|
/**
|
|
147
152
|
* Simple interface for checked methods
|