deep-foundation / deep-foundation/deepcase

imports/cyto/editor.tsx:235:42 - error TS2367: This comparison appears to be unintentional because the types 'string' and 'number' have no overlap.

Open
#21 0 comments 0 reactions 1 assignee Claimed by @ivansglazunov View on GitHub
bug
Dominant language
TypeScript
Stars
7
Forks
6
PR merge metrics
No merged PRs in 30d

Description

![IMG_1593](https://github.com/deep-foundation/deepcase/assets/1431904/43680cf6-4539-4a5f-a189-172a3a9b112a)

```
> @deep-foundation/deepcase@0.0.96 package:build
> tsc --project tsconfig.json

imports/cyto/editor.tsx:235:42 - error TS2367: This comparison appears to be unintentional because the types 'string' and 'number' have no overlap.

235 selectAllOnFocus defaultValue={deep.nameLocal(link.id) == link.id ? '' : deep.nameLocal(link.id)}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Found 1 error in imports/cyto/editor.tsx:235

npm ERR! Lifecycle script `package:build` failed with error:
npm ERR! Error: command failed
npm ERR! in workspace: @deep-foundation/deepcase@0.0.96
npm ERR! at location: /workspace/dev/packages/deepcase
exit

🍊 This task ran as a workspace prebuild
⏱️ Well done on saving 6 minutes
```

# Workaround
```
(cd packages/deepcase && git checkout d823f4ff48aa5af3cddc59f2c66431f6122965fe)
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.