@prismicio/types-internal 2.2.0-alpha.15 → 2.2.0-alpha.16

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.
@@ -1,3 +1,3 @@
1
1
  import type { UIDContent } from "../../../content";
2
2
  import type { ImportUID } from "../../validators/fields/UID";
3
- export declare const uidConverter: (field: ImportUID["value"]) => UIDContent | undefined;
3
+ export declare const uidConverter: (field: ImportUID["value"]) => UIDContent;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prismicio/types-internal",
3
- "version": "2.2.0-alpha.15",
3
+ "version": "2.2.0-alpha.16",
4
4
  "description": "Prismic types for Custom Types and Prismic Data",
5
5
  "keywords": [
6
6
  "typescript",
@@ -1,9 +1,7 @@
1
1
  import type { UIDContent } from "../../../content"
2
2
  import type { ImportUID } from "../../validators/fields/UID"
3
3
 
4
- export const uidConverter = (
5
- field: ImportUID["value"],
6
- ): UIDContent | undefined => {
4
+ export const uidConverter = (field: ImportUID["value"]): UIDContent => {
7
5
  return {
8
6
  value: field,
9
7
  __TYPE__: "UIDContent",