@prismicio/types
Advanced tools
Comparing version 0.1.24 to 0.1.25
@@ -0,0 +0,0 @@ declare const LinkType: { |
@@ -516,3 +516,3 @@ declare type EmptyObjectField = Record<string, never>; | ||
*/ | ||
declare type KeyTextField<State extends FieldState = FieldState> = State extends "empty" ? null : string; | ||
declare type KeyTextField<State extends FieldState = FieldState> = State extends "empty" ? null | "" : string; | ||
/** | ||
@@ -519,0 +519,0 @@ * A Select field |
{ | ||
"name": "@prismicio/types", | ||
"version": "0.1.24", | ||
"version": "0.1.25", | ||
"description": "Type definitions for Prismic related structure", | ||
@@ -57,6 +57,7 @@ "keywords": [ | ||
"devDependencies": { | ||
"@typescript-eslint/eslint-plugin": "^5.5.0", | ||
"@typescript-eslint/parser": "^5.5.0", | ||
"ava": "^3.15.0", | ||
"eslint": "^8.3.0", | ||
"@typescript-eslint/eslint-plugin": "^5.11.0", | ||
"@typescript-eslint/parser": "^5.11.0", | ||
"ava": "^4.0.1", | ||
"esbuild-register": "^3.3.2", | ||
"eslint": "^8.9.0", | ||
"eslint-config-prettier": "^8.3.0", | ||
@@ -66,9 +67,8 @@ "eslint-plugin-prettier": "^4.0.0", | ||
"nyc": "^15.1.0", | ||
"prettier": "^2.5.0", | ||
"prettier": "^2.5.1", | ||
"prettier-plugin-jsdoc": "^0.3.30", | ||
"siroc": "^0.16.0", | ||
"standard-version": "^9.3.2", | ||
"ts-eager": "^2.0.2", | ||
"ts-expect": "^1.3.0", | ||
"typescript": "^4.5.2" | ||
"typescript": "^4.5.5" | ||
}, | ||
@@ -75,0 +75,0 @@ "engines": { |
@@ -54,3 +54,3 @@ <!-- | ||
``` | ||
Copyright 2013-2021 Prismic <contact@prismic.io> (https://prismic.io) | ||
Copyright 2013-2022 Prismic <contact@prismic.io> (https://prismic.io) | ||
@@ -57,0 +57,0 @@ Licensed under the Apache License, Version 2.0 (the "License"); |
@@ -719,3 +719,3 @@ type EmptyObjectField = Record<string, never>; | ||
export type KeyTextField<State extends FieldState = FieldState> = | ||
State extends "empty" ? null : string; | ||
State extends "empty" ? null | "" : string; | ||
@@ -722,0 +722,0 @@ /** |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
209974