Closed DhairyaMajmudar closed 1 month ago
What kind of change does this PR introduce?
Resolving errorApi types from files:
ForeignKeysPage.tsx
MacroPage.tsx
MacroQueriesComparePage.tsx
By making useState of type null and string: useState<null | string>(null)
useState<null | string>(null)
Also added string type to errorApi constant in utils.ts file.
Issue Number: N/A
Screenshots/videos: N/A
Summary
Removed typescript problems coming from errorApi.
Does this PR introduce a breaking change?
@frouioui ping for PR review : )
What kind of change does this PR introduce?
Resolving errorApi types from files:
ForeignKeysPage.tsx
MacroPage.tsx
MacroQueriesComparePage.tsx
By making useState of type null and string:
useState<null | string>(null)
Also added string type to errorApi constant in utils.ts file.
Issue Number: N/A
Screenshots/videos: N/A
Summary
Removed typescript problems coming from errorApi.
Does this PR introduce a breaking change?