As part of Typescript migration added/removed the error causing fields.
Motivation
TypeScript 5.0 has marked some options as deprecated. We can temporarily override these deprecations, but the documented plan is for the ability to override the flag to go away in TypeScript 5.5
Context
urls: urlsConfiguration
Error: Object literal may only specify known properties, and 'urls' does not exist in type 'PropertyIdToConfigurationMap'.
Error: Property 'cardsViewStoreData' does not exist on type 'IntrinsicAttributes & CommonInstancesSectionProps
Added cardsViewStoreData in CommonInstancesSectionProps added the property in file [common-instances-section-props.ts]
storeActionMessageCreator
Error: Object literal may only specify known properties, and 'storeActionMessageCreator' does not exist in type 'PageDeps'.
Removed storeActionMessageCreator as there are no references available for the property.
deps:null
Error: Object literal may only specify known properties, and 'deps' does not exist in type 'ReportCollapsibleContainerProps'.
Getting the error in collapsible-result-section.tsx file.
Added deps and onExpandToggle properties in ReportCollapsibleContainerProps in file report-collapsible-container.tsx.
selectedIssueFilingServiceData
Error: Object literal may only specify known properties, but 'selectedIssueFilingServiceData' does not exist in type 'IssueFilingNeedsSettingsContentProps'
This property is used in props in the file [issue-filing-settings-container.tsx]
isMoveToAssessmentDialogOpen
Error: Object literal may only specify known properties, but 'isMoveToAssessmentDialogOpen' does not exist in type 'Readonly'
Upon checking previous history and references it is not used anywhere
rel="noopener"
Error: Type '{ children: Element[]; action: string; method: string; target: string; rel: string; style: { visibility: "hidden"; }; }' is not assignable to type 'DetailedHTMLProps<FormHTMLAttributes, HTMLFormElement>'.
value
Error: Type '{ value: boolean; label: string; onChange: (event: MouseEvent<any, MouseEvent>, checked?: boolean) => void; }' is not assignable to type 'IntrinsicAttributes & ICheckboxProps & { children?: ReactNode; }'.
isLableVisisble
Error: Property 'isLabelVisible' does not exist on type 'IntrinsicAttributes & IChoiceGroupProps & { children?: ReactNode; }'.
Details
As part of Typescript migration added/removed the error causing fields.
Motivation
TypeScript 5.0 has marked some options as deprecated. We can temporarily override these deprecations, but the documented plan is for the ability to override the flag to go away in TypeScript 5.5
Context
Pull request checklist
yarn fastpass
yarn test
)<rootDir>/test-results/unit/coverage
fix:
,chore:
,feat(feature-name):
,refactor:
). SeeCONTRIBUTING.md
.