mirror of
https://github.com/danbulant/oxc
synced 2026-05-19 12:19:15 +00:00
refactor(isolated-declarations): mark return struct as non exhaustive (#6374)
This will let us add fields to `IsolatedDeclarationsReturn` in the future without breaking consuming code.
This commit is contained in:
parent
f1bf0e8425
commit
a504f96b06
2 changed files with 2 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ See more at [oxc.rs](https://oxc.rs)!
|
|||
|
||||
## VoidZero Inc.
|
||||
|
||||
Oxc is a project of [VoidZero](https://voidzero.dev/), see our annoucement [Announcing VoidZero - Next Generation Toolchain for JavaScript](https://voidzero.dev/blog).
|
||||
Oxc is a project of [VoidZero](https://voidzero.dev/), see our announcement [Announcing VoidZero - Next Generation Toolchain for JavaScript](https://voidzero.dev/blog).
|
||||
|
||||
If you have requirements for JavaScript tools at scale, please [get in touch](https://forms.gle/WQgjyzYJpwurpxWKA)!
|
||||
|
||||
|
|
|
|||
|
|
@ -44,6 +44,7 @@ pub struct IsolatedDeclarationsOptions {
|
|||
pub strip_internal: bool,
|
||||
}
|
||||
|
||||
#[non_exhaustive]
|
||||
pub struct IsolatedDeclarationsReturn<'a> {
|
||||
pub program: Program<'a>,
|
||||
pub errors: Vec<OxcDiagnostic>,
|
||||
|
|
|
|||
Loading…
Reference in a new issue