Skip to content

fix: lint and typecheck issue#389

Merged
cb-ekuersch merged 3 commits intocds-v9from
fix/cds-v9-typecheck-lint
Feb 12, 2026
Merged

fix: lint and typecheck issue#389
cb-ekuersch merged 3 commits intocds-v9from
fix/cds-v9-typecheck-lint

Conversation

@haoruikun-cb
Copy link
Contributor

What changed? Why?

Fixed lint and type check issues in cds-v9 branch

Root cause (required for bugfixes)

UI changes

iOS Old iOS New
old screenshot new screenshot
Android Old Android New
old screenshot new screenshot
Web Old Web New
old screenshot new screenshot

Testing

How has it been tested?

  • Unit tests
  • Interaction tests
  • Pseudo State tests
  • Manual - Web
  • Manual - Android (Emulator / Device)
  • Manual - iOS (Emulator / Device)

Testing instructions

Illustrations/Icons Checklist

Required if this PR changes files under packages/illustrations/** or packages/icons/**

  • verified visreg changes with Terran (include link to visreg run/approval)
  • all illustration/icons names have been reviewed by Dom and/or Terran

Change management

type=routine
risk=low
impact=sev5

automerge=false

AnnouncementBarProvider,
ScrollControllerProvider,
DocsPreferredVersionContextProvider,
// TODO: Docusaurus uses @types/react 18 (no bigint in ReactNode) while workspace uses React 19.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@haoruikun-cb did you look into if we can upgrade to a docusarous version that support 19 types?

@@ -1,4 +1,4 @@
import React, { useState, type JSX } from 'react';
import React, { type JSX,useState } from 'react';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

formatting looks off

@@ -1,4 +1,4 @@
import React, { useState, type JSX } from 'react';
import React, { type JSX,useState } from 'react';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

formatting loooks off

@@ -1,4 +1,4 @@
import React, { type ReactNode, useCallback, useState, type JSX } from 'react';
import React, { type JSX,type ReactNode, useCallback, useState } from 'react';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

formatting

@@ -1,4 +1,4 @@
import { useMemo, type JSX } from 'react';
import { type JSX,useMemo } from 'react';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

formatting

@@ -1,4 +1,4 @@
import React, { memo, useCallback, useEffect, useMemo, useRef, useState, type JSX } from 'react';
import React, { type JSX,memo, useCallback, useEffect, useMemo, useRef, useState } from 'react';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

formatting

Copy link
Contributor

@cb-ekuersch cb-ekuersch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it would be great if docusarous has a version that supports react 19 types - lets check and see!

@cb-ekuersch cb-ekuersch merged commit 82ebc15 into cds-v9 Feb 12, 2026
6 checks passed
@cb-ekuersch cb-ekuersch deleted the fix/cds-v9-typecheck-lint branch February 12, 2026 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants