Skip to content

Suppress some interfaces for blazor#2258

Merged
rkaraivanov merged 2 commits into
masterfrom
mdragnev/blazor-flags
Jun 18, 2026
Merged

Suppress some interfaces for blazor#2258
rkaraivanov merged 2 commits into
masterfrom
mdragnev/blazor-flags

Conversation

@mddragnev

Copy link
Copy Markdown
Member

Description

Provide a clear and concise summary of the changes in this PR and the motivation behind them

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that causes existing functionality to change)
  • Documentation update
  • Refactoring (code improvements without functional changes)

Related Issues

Closes #

Testing

Checklist

  • My code follows the project's coding standards
  • I have tested my changes locally
  • I have updated documentation if needed
  • Breaking changes are documented in the description

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates TypeScript API metadata annotations to prevent specific types/members from being surfaced in the Blazor bindings generation pipeline.

Changes:

  • Added /* blazorSuppress */ markers to additional date-time input types and a chat option property.
  • Added @ignore JSDoc blocks to date-range mask parser internal helper types (interfaces/enums) to hide them from generated documentation.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
src/components/date-time-input/date-part.ts Adds /* blazorSuppress */ markers before two exported interfaces.
src/components/date-range-picker/date-range-mask-parser.ts Adds @ignore JSDoc blocks to range-helper types (interface/enum/interface) to hide them from docs.
src/components/chat/types.ts Adds /* blazorSuppress */ marker before acceptedFiles option.

Comment on lines +17 to 23
/**
* @ignore
*/
export interface DateRangePart {
part: DatePart;
position: DateRangePosition;
}
Comment on lines +25 to 33
/**
* @ignore
* Position of a date part within the date range
*/
export enum DateRangePosition {
Start = 'start',
End = 'end',
Separator = 'separator',
}
Comment on lines +35 to 41
/**
* @ignore
* Extended date part with range position information
*/
export interface IDateRangePart extends IDatePart {
position: DateRangePosition;
}
@rkaraivanov rkaraivanov merged commit e4e4223 into master Jun 18, 2026
7 checks passed
@rkaraivanov rkaraivanov deleted the mdragnev/blazor-flags branch June 18, 2026 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants