@atlaskit/adf-utils
Advanced tools
Comparing version
@@ -174,4 +174,2 @@ "use strict"; | ||
if (!(0, _utils.isDefined)(spec.type)) { | ||
// @ts-expect-error - property 'optional' does not exist on type 'never' | ||
// This error was introduced after upgrading to TypeScript 5 | ||
return !!spec.optional; | ||
@@ -178,0 +176,0 @@ } |
@@ -143,4 +143,2 @@ import * as specs from './specs'; | ||
if (!isDefined(spec.type)) { | ||
// @ts-expect-error - property 'optional' does not exist on type 'never' | ||
// This error was introduced after upgrading to TypeScript 5 | ||
return !!spec.optional; | ||
@@ -147,0 +145,0 @@ } |
@@ -163,4 +163,2 @@ import _slicedToArray from "@babel/runtime/helpers/slicedToArray"; | ||
if (!isDefined(spec.type)) { | ||
// @ts-expect-error - property 'optional' does not exist on type 'never' | ||
// This error was introduced after upgrading to TypeScript 5 | ||
return !!spec.optional; | ||
@@ -167,0 +165,0 @@ } |
{ | ||
"name": "@atlaskit/adf-utils", | ||
"version": "19.5.0", | ||
"version": "19.6.0", | ||
"description": "Set of utilities to traverse, modify and create ADF documents.", | ||
@@ -5,0 +5,0 @@ "publishConfig": { |
Sorry, the diff of this file is too big to display
481589
0.07%477
0.21%9954
0.13%