#[derive(serde::Deserialize)]
#[allow(clippy::struct_excessive_bools)]
pub struct TypeCheckOptions {
pub constant_parameters: bool,
pub allow_elided_arguments: bool,
pub allow_extra_arguments: bool,
pub constant_function_declarations: bool,
pub strict_casts: bool,
pub debug_types: bool,
}
impl Default for TypeCheckOptions {
fn default() -> Self {
Self {
constant_parameters: false,
allow_elided_arguments: false,
allow_extra_arguments: false,
constant_function_declarations: true,
strict_casts: false,
debug_types: false,
}
}
}