refactor: isValidKey
to isValidFieldKey
#24
Annotations
10 errors
build:
src/utils/serializeDocument.ts#L9
Module '"../types"' has no exported member 'Link'.
|
build:
src/utils/serializeDocument.ts#L9
Module '"../types"' has no exported member 'MetaObject'.
|
build:
src/utils/serializeDocument.ts#L9
Module '"../types"' has no exported member 'ValidObject'.
|
build:
src/utils/serializeDocument.ts#L39
Type 'unknown' is not assignable to type 'string'.
|
build:
src/utils/serializeDocument.ts#L39
'metadata' is possibly 'null'.
|
build:
src/utils/serializeDocument.ts#L41
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
|
build:
src/utils/serializeDocument.ts#L50
'metadata' is possibly 'null'.
|
build:
src/utils/serializeDocument.ts#L61
'metadata' is possibly 'null'.
|
build:
src/utils/serializeDocument.ts#L63
Property 'length' does not exist on type '{}'.
|
build:
src/utils/serializeDocument.ts#L67
Property 'reduce' does not exist on type '{}'.
|