Skip to main content

Warning

@a16njs/models


@a16njs/models / Warning

Interface: Warning

Defined in: warnings.ts:25

A warning about something that happened during conversion. Warnings don't stop the conversion but should be surfaced to users.

Properties

code

code: WarningCode

Defined in: warnings.ts:27

The type of warning


message

message: string

Defined in: warnings.ts:29

Human-readable description of the issue


sources?

optional sources: string[]

Defined in: warnings.ts:31

Source files that were affected (optional)


details?

optional details: Record<string, unknown>

Defined in: warnings.ts:33

Additional details about the warning (optional)