Skip to content

[Issue]: tsconfig.json is an assumption which is not always correct #238

@kfirstri

Description

@kfirstri

Summary

@ozsay raised an interesting issue - today when you run the base44 types generate command it generate the types and then tries to modify the developer's tsconfig.json file (if exists).
The issue - tsconfig.json is not always the correct file (it depends on the user land code), in a project for example there may be a tsconfig.json and a tsconfig.app.json and app is the correct place to put it.

possible solution
Try to detect if there are more than one tsconfig*.json file, and if there are don't modify it, just print a message to the user to add the base44/.types/types.d.ts file

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions