Skip to content

Let's rewrite packages\ketcher-core\src\domain\serializers\mol\utils.js from JavaScript to TypeScript #11900

Description

@AlexeyGirin

Please convert packages\ketcher-core\src\domain\serializers\mol\utils.js to TypeScript
All variables with explicit or implicit any types have to be resolved to exact type.

How can it be fixed?
Preferable alternatives to any include:

  • If the type is known, describing it in an interface or type
  • If the type is not known, using the safer unknown type

Please check if types you you want to declare already exist and if no - create new declatations at types.ts if they can be used elsewhere (if yes - use existed one)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

refactorCode refactoring, without changing the functionality

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions