From 521df9d34c2754b5918db15fda71e2d2b2bc1e74 Mon Sep 17 00:00:00 2001 From: Leo Kettmeir Date: Sat, 4 Apr 2026 13:15:35 +0200 Subject: [PATCH 1/2] fix: improve HTML doc generation for JSR - Handle JS reserved words in import usage identifiers by capitalizing (#1092) - Render interface construct signatures (new()) in docs (#1250) - Inherit JSDoc from implemented interfaces for undocumented class members (#1013) - Use TypeRefResolution to properly link type params and cross-module imports (#922) - Fix partition deduplication to preserve non-reference declarations (#957) Co-Authored-By: Claude Opus 4.6 --- src/html/partition.rs | 54 ++++++- src/html/symbols/class.rs | 96 +++++++++++- src/html/symbols/interface.rs | 146 ++++++++++++++++++ src/html/types.rs | 60 +++++++ src/html/usage.rs | 132 +++++++++++++++- src/html/util.rs | 2 + ...ml_test__diff_comprehensive_diff_only.snap | 14 +- .../html_test__diff_comprehensive_full.snap | 20 +-- ...html_test__html_doc_files_multiple-15.snap | 2 +- ...html_test__html_doc_files_multiple-40.snap | 4 +- ...html_test__html_doc_files_multiple-41.snap | 32 +++- ...html_test__html_doc_files_multiple-57.snap | 2 +- tests/snapshots/html_test__symbol_group.snap | 42 ++++- 13 files changed, 565 insertions(+), 41 deletions(-) diff --git a/src/html/partition.rs b/src/html/partition.rs index bad777af8..071b7d6c3 100644 --- a/src/html/partition.rs +++ b/src/html/partition.rs @@ -29,7 +29,9 @@ where ) where F: Fn(&mut IndexMap>, &DocNodeWithContext), { - 'outer: for node in doc_nodes { + for node in doc_nodes { + let mut has_reference = false; + for decl in &node.declarations { if flatten_namespaces && matches!(decl.def, DeclarationDef::Namespace(..)) @@ -52,6 +54,7 @@ where } if let Some(reference) = decl.reference_def() { + has_reference = true; partitioner_inner( ctx, partitions, @@ -60,12 +63,28 @@ where flatten_namespaces, process, ); - // hack until reference nodes are separate from normal symbols - continue 'outer; } } - process(partitions, &node); + if has_reference { + // If the symbol has non-reference declarations alongside + // references, emit a node containing only the non-reference + // declarations so they are not lost. + let non_ref_decls: Vec<_> = node + .declarations + .iter() + .filter(|d| d.reference_def().is_none()) + .cloned() + .collect(); + if !non_ref_decls.is_empty() { + let mut stripped = (*node).clone(); + std::sync::Arc::make_mut(&mut stripped.inner).declarations = + non_ref_decls; + process(partitions, &stripped); + } + } else { + process(partitions, &node); + } } } @@ -217,7 +236,9 @@ pub fn flatten_namespace<'a>( ) { let nodes: Vec<_> = doc_nodes.collect(); - 'outer: for node in &nodes { + for node in &nodes { + let mut has_reference = false; + for decl in &node.declarations { if matches!(decl.def, DeclarationDef::Namespace(..)) { let children: Vec<_> = node @@ -236,6 +257,7 @@ pub fn flatten_namespace<'a>( } if let Some(reference) = decl.reference_def() { + has_reference = true; let resolved: Vec<_> = ctx .resolve_reference(parent_node, &reference.target) .map(|c| c.into_owned()) @@ -246,12 +268,28 @@ pub fn flatten_namespace<'a>( parent_node, Box::new(resolved.into_iter().map(Cow::Owned)), ); - // hack until reference nodes are separate from normal symbols - continue 'outer; } } - out.push((*node).clone()); + if has_reference { + // If the symbol has non-reference declarations alongside + // references, emit a node containing only the non-reference + // declarations so they are not lost. + let non_ref_decls: Vec<_> = node + .declarations + .iter() + .filter(|d| d.reference_def().is_none()) + .cloned() + .collect(); + if !non_ref_decls.is_empty() { + let mut stripped = (**node).clone(); + std::sync::Arc::make_mut(&mut stripped.inner).declarations = + non_ref_decls; + out.push(Cow::Owned(stripped)); + } + } else { + out.push((*node).clone()); + } } } diff --git a/src/html/symbols/class.rs b/src/html/symbols/class.rs index ef8c2c080..c74d46396 100644 --- a/src/html/symbols/class.rs +++ b/src/html/symbols/class.rs @@ -1,4 +1,6 @@ use crate::Declaration; +use crate::DeclarationDef; +use crate::class::ClassDef; use crate::class::ClassMethodDef; use crate::class::ClassPropertyDef; use crate::diff::ConstructorDiff; @@ -12,15 +14,71 @@ use crate::html::parameters::render_params; use crate::html::render_context::RenderContext; use crate::html::types::render_type_def_colon; use crate::html::util::*; +use crate::interface::InterfaceDef; use crate::js_doc::JsDocTag; +use crate::ts_type::TsTypeDefKind; use deno_ast::swc::ast::Accessibility; use deno_ast::swc::ast::MethodKind; use indexmap::IndexMap; use serde::Deserialize; use serde::Serialize; use std::collections::BTreeMap; +use std::collections::HashMap; use std::collections::HashSet; +/// Collects method and property documentation from all interfaces +/// implemented by a class, to be used as fallback when the class +/// member lacks its own documentation. +fn collect_inherited_docs( + ctx: &RenderContext, + class_def: &ClassDef, +) -> HashMap { + let mut inherited = HashMap::new(); + + for implement in class_def.implements.iter() { + let interface_name = match &implement.kind { + TsTypeDefKind::TypeRef(type_ref) => &type_ref.type_name, + _ => continue, + }; + + // Search all doc nodes for a matching interface + for nodes in ctx.ctx.doc_nodes.values() { + for node in nodes { + if node.get_name() != interface_name { + continue; + } + for decl in &node.declarations { + if let DeclarationDef::Interface(iface) = &decl.def { + collect_docs_from_interface(&mut inherited, iface); + } + } + } + } + } + + inherited +} + +fn collect_docs_from_interface( + inherited: &mut HashMap, + iface: &InterfaceDef, +) { + for method in &iface.methods { + if let Some(doc) = &method.js_doc.doc { + inherited + .entry(method.name.clone()) + .or_insert_with(|| doc.to_string()); + } + } + for property in &iface.properties { + if let Some(doc) = &property.js_doc.doc { + inherited + .entry(property.name.clone()) + .or_insert_with(|| doc.to_string()); + } + } +} + pub(crate) fn render_class( ctx: &RenderContext, symbol: &DocNodeWithContext, @@ -47,6 +105,8 @@ pub(crate) fn render_class( .and_then(|d| d.as_class()) }); + let inherited_docs = collect_inherited_docs(ctx, class_def); + let class_items = partition_class_items( class_def.properties.clone(), class_def.methods.clone(), @@ -89,6 +149,7 @@ pub(crate) fn render_class( class_items.static_properties, class_items.static_property_changes.as_ref(), class_items.static_method_changes.as_ref(), + &inherited_docs, ); if !static_properties.is_empty() { @@ -104,6 +165,7 @@ pub(crate) fn render_class( name, class_items.static_methods, class_items.static_method_changes.as_ref(), + &inherited_docs, ); if !static_methods.is_empty() { @@ -120,6 +182,7 @@ pub(crate) fn render_class( class_items.properties, class_items.property_changes.as_ref(), class_items.method_changes.as_ref(), + &inherited_docs, ); if !properties.is_empty() { @@ -135,6 +198,7 @@ pub(crate) fn render_class( name, class_items.methods, class_items.method_changes.as_ref(), + &inherited_docs, ); if !methods.is_empty() { @@ -585,6 +649,7 @@ fn render_class_accessor( getter: Option<&ClassMethodDef>, setter: Option<&ClassMethodDef>, method_changes: Option<&MethodsDiff>, + inherited_docs: &HashMap, ) -> DocEntryCtx { let getter_or_setter = getter.or(setter).unwrap(); @@ -605,7 +670,11 @@ fn render_class_accessor( }) }) .map_or_else(String::new, |ts_type| render_type_def_colon(ctx, ts_type)); - let js_doc = getter_or_setter.js_doc.doc.as_deref(); + let js_doc = getter_or_setter + .js_doc + .doc + .as_deref() + .or_else(|| inherited_docs.get(&**name).map(|s| s.as_str())); let mut tags = Tag::from_js_doc(&getter_or_setter.js_doc); if let Some(tag) = Tag::from_accessibility(getter_or_setter.accessibility) { @@ -689,6 +758,7 @@ fn render_class_method( method: &ClassMethodDef, i: usize, method_changes: Option<&MethodsDiff>, + inherited_docs: &HashMap, ) -> Option { if method.function_def.has_body && i != 0 { return None; @@ -750,6 +820,12 @@ fn render_class_method( (None, None, None) }; + let doc = method + .js_doc + .doc + .as_deref() + .or_else(|| inherited_docs.get(&*method.name).map(|s| s.as_str())); + Some(DocEntryCtx::new( ctx, id, @@ -766,7 +842,7 @@ fn render_class_method( &method.function_def.return_type, ), tags, - method.js_doc.doc.as_deref(), + doc, &method.location, diff_status, old_content, @@ -780,6 +856,7 @@ fn render_class_property( class_name: &str, property: &ClassPropertyDef, property_changes: Option<&PropertiesDiff>, + inherited_docs: &HashMap, ) -> DocEntryCtx { let id = IdBuilder::new(ctx) .kind(IdKind::Property) @@ -835,6 +912,12 @@ fn render_class_property( (None, None, None) }; + let doc = property + .js_doc + .doc + .as_deref() + .or_else(|| inherited_docs.get(&*property.name).map(|s| s.as_str())); + DocEntryCtx::new( ctx, id, @@ -846,7 +929,7 @@ fn render_class_property( )), &ts_type, tags, - property.js_doc.doc.as_deref(), + doc, &property.location, diff_status, old_content, @@ -906,6 +989,7 @@ fn render_class_properties( properties: Vec, property_changes: Option<&PropertiesDiff>, method_changes: Option<&MethodsDiff>, + inherited_docs: &HashMap, ) -> Vec { let mut properties = properties.into_iter().peekable(); let mut out = vec![]; @@ -913,7 +997,7 @@ fn render_class_properties( while let Some(property) = properties.next() { let content = match property { PropertyOrMethod::Property(property) => { - render_class_property(ctx, class_name, &property, property_changes) + render_class_property(ctx, class_name, &property, property_changes, inherited_docs) } PropertyOrMethod::Method(method) => { let (getter, setter) = if method.kind == MethodKind::Getter { @@ -945,6 +1029,7 @@ fn render_class_properties( getter, setter.as_ref(), method_changes, + inherited_docs, ) } }; @@ -1044,12 +1129,13 @@ fn render_class_methods( class_name: &str, methods: BTreeMap, Vec>, method_changes: Option<&MethodsDiff>, + inherited_docs: &HashMap, ) -> Vec { let mut out: Vec = methods .values() .flat_map(|methods| { methods.iter().enumerate().filter_map(|(i, method)| { - render_class_method(ctx, class_name, method, i, method_changes) + render_class_method(ctx, class_name, method, i, method_changes, inherited_docs) }) }) .collect(); diff --git a/src/html/symbols/interface.rs b/src/html/symbols/interface.rs index fc931f353..4550b3479 100644 --- a/src/html/symbols/interface.rs +++ b/src/html/symbols/interface.rs @@ -52,6 +52,14 @@ pub(crate) fn render_interface( sections.push(index_signatures); } + if let Some(construct_signatures) = render_construct_signatures( + ctx, + &interface_def.constructors, + interface_diff.and_then(|d| d.constructor_changes.as_ref()), + ) { + sections.push(construct_signatures); + } + if let Some(call_signatures) = render_call_signatures( ctx, &interface_def.call_signatures, @@ -108,6 +116,144 @@ pub(crate) fn render_index_signatures( ) } +pub(crate) fn render_construct_signatures( + ctx: &RenderContext, + constructors: &[crate::ts_type::ConstructorDef], + constructor_changes: Option<&crate::diff::InterfaceConstructorsDiff>, +) -> Option { + if constructors.is_empty() + && constructor_changes.is_none_or(|d| d.removed.is_empty()) + { + return None; + } + + let mut items = constructors + .iter() + .enumerate() + .map(|(i, constructor)| { + let id = IdBuilder::new(ctx) + .kind(IdKind::ConstructSignature) + .index(i) + .build(); + + let return_type = constructor + .return_type + .as_ref() + .map(|ts_type| render_type_def_colon(ctx, ts_type)) + .unwrap_or_default(); + + let tags = Tag::from_js_doc(&constructor.js_doc); + + let ctor_diff = constructor_changes + .and_then(|d| d.modified.iter().find(|m| m.param_count == constructor.params.len())); + + let diff_status = if let Some(diff) = constructor_changes { + if diff.added.iter().any(|a| a == constructor) { + Some(DiffStatus::Added) + } else if ctor_diff.is_some() { + Some(DiffStatus::Modified) + } else { + None + } + } else { + None + }; + + let old_tags = if matches!( + diff_status, + Some(DiffStatus::Modified | DiffStatus::Renamed { .. }) + ) { + Some(super::compute_old_tags(&tags, None, None, None, None)) + } else { + None + }; + + let old_content = if matches!(diff_status, Some(DiffStatus::Modified)) { + ctor_diff.and_then(|cd| { + super::function::render_old_function_summary( + ctx, + &constructor.type_params, + &constructor.params, + &constructor.return_type, + cd.type_params_change.as_ref(), + cd.params_change.as_ref(), + cd.return_type_change.as_ref(), + ) + }) + } else { + None + }; + + let mut entry = DocEntryCtx::new( + ctx, + id, + None, + None, + &format!( + "{}({}){return_type}", + type_params_summary(ctx, &constructor.type_params), + render_params(ctx, &constructor.params), + ), + tags, + constructor.js_doc.doc.as_deref(), + &constructor.location, + diff_status, + old_content, + old_tags, + ctor_diff.and_then(|cd| cd.js_doc_change.as_ref()), + ); + entry.name_prefix = Some("new".into()); + + entry + }) + .collect::>(); + + if let Some(diff) = constructor_changes { + for constructor in &diff.removed { + let id = IdBuilder::new(ctx) + .kind(IdKind::ConstructSignature) + .index(items.len()) + .build(); + + let tags = Tag::from_js_doc(&constructor.js_doc); + + let return_type = constructor + .return_type + .as_ref() + .map(|ts_type| render_type_def_colon(ctx, ts_type)) + .unwrap_or_default(); + + let mut entry = DocEntryCtx::removed( + ctx, + id, + None, + None, + &format!( + "{}({}){return_type}", + type_params_summary(ctx, &constructor.type_params), + render_params(ctx, &constructor.params), + ), + tags, + constructor.js_doc.doc.as_deref(), + &constructor.location, + ); + entry.name_prefix = Some("new".into()); + + items.push(entry); + } + } + + if items.is_empty() { + return None; + } + + Some(SectionCtx::new( + ctx, + "Constructors", + SectionContentCtx::DocEntry(items), + )) +} + pub(crate) fn render_call_signatures( ctx: &RenderContext, call_signatures: &[crate::ts_type::CallSignatureDef], diff --git a/src/html/types.rs b/src/html/types.rs index 5d3e2535c..94b73d5cc 100644 --- a/src/html/types.rs +++ b/src/html/types.rs @@ -148,6 +148,66 @@ pub(crate) fn render_type_def( .name(&type_ref.type_name) .build_unregistered() )) + } else if let Some(resolution) = &type_ref.resolution { + match resolution { + crate::ts_type::TypeRefResolution::TypeParam { + declaring_name, + .. + } => { + if let Some(name) = declaring_name { + ctx.lookup_symbol_href(name).map(|href| { + format!( + "{}#{}", + href, + IdBuilder::new(ctx) + .kind(IdKind::TypeParam) + .name(&type_ref.type_name) + .build_unregistered() + ) + }) + } else { + Some(format!( + "#{}", + IdBuilder::new(ctx) + .kind(IdKind::TypeParam) + .name(&type_ref.type_name) + .build_unregistered() + )) + } + } + crate::ts_type::TypeRefResolution::Import { + specifier, + name, + } => { + // Try the normal lookup first, fall back to import href + ctx.lookup_symbol_href(&type_ref.type_name).or_else(|| { + let symbol_name = if let Some(name) = name.as_deref() { + // Named import: use the original export name + name.to_string() + } else { + // Star import (import * as ns): type_name is "ns.Foo.Bar", + // strip the namespace prefix to get "Foo.Bar" + type_ref + .type_name + .split_once('.') + .map_or_else( + || type_ref.type_name.clone(), + |(_, rest)| rest.to_string(), + ) + }; + ctx.ctx.href_resolver.resolve_import_href( + &symbol_name + .split('.') + .map(|s| s.to_string()) + .collect::>(), + specifier, + ) + }) + } + crate::ts_type::TypeRefResolution::Local => { + ctx.lookup_symbol_href(&type_ref.type_name) + } + } } else { ctx.lookup_symbol_href(&type_ref.type_name) }; diff --git a/src/html/usage.rs b/src/html/usage.rs index 39fe193ff..36fde8c0c 100644 --- a/src/html/usage.rs +++ b/src/html/usage.rs @@ -25,6 +25,88 @@ lazy_static! { static ref IDENTIFIER_RE: Regex = Regex::new(r"[^a-zA-Z$_]").unwrap(); } +/// JavaScript/TypeScript reserved words that cannot be used as identifiers. +const JS_RESERVED_WORDS: &[&str] = &[ + "abstract", + "arguments", + "async", + "await", + "boolean", + "break", + "byte", + "case", + "catch", + "char", + "class", + "const", + "continue", + "debugger", + "default", + "delete", + "do", + "double", + "else", + "enum", + "eval", + "export", + "extends", + "false", + "final", + "finally", + "float", + "for", + "function", + "goto", + "if", + "implements", + "import", + "in", + "instanceof", + "int", + "interface", + "let", + "long", + "native", + "new", + "null", + "package", + "private", + "protected", + "public", + "return", + "short", + "static", + "super", + "switch", + "synchronized", + "this", + "throw", + "throws", + "transient", + "true", + "try", + "typeof", + "var", + "void", + "volatile", + "while", + "with", + "yield", +]; + +fn is_reserved_word(s: &str) -> bool { + JS_RESERVED_WORDS.contains(&s) +} + +/// Capitalize the first letter of a string. +fn capitalize_first(s: &str) -> String { + let mut chars = s.chars(); + match chars.next() { + None => String::new(), + Some(c) => c.to_uppercase().to_string() + chars.as_str(), + } +} + fn render_css_for_usage(name: &str) -> String { format!( r#" @@ -202,7 +284,14 @@ fn get_identifier_for_file( maybe_identifier.as_ref().map_or_else( || "mod".to_string(), - |identifier| IDENTIFIER_RE.replace_all(identifier, "_").to_string(), + |identifier| { + let sanitized = IDENTIFIER_RE.replace_all(identifier, "_").to_string(); + if is_reserved_word(&sanitized) { + capitalize_first(&sanitized) + } else { + sanitized + } + }, ) } @@ -360,3 +449,44 @@ pub trait UsageComposer: Send + Sync { usage_to_md: UsageToMd, ) -> IndexMap; } + +#[cfg(test)] +mod tests { + use super::*; + + #[test] + fn test_is_reserved_word() { + assert!(is_reserved_word("enum")); + assert!(is_reserved_word("class")); + assert!(is_reserved_word("function")); + assert!(is_reserved_word("import")); + assert!(is_reserved_word("export")); + assert!(is_reserved_word("let")); + assert!(is_reserved_word("const")); + assert!(is_reserved_word("var")); + assert!(is_reserved_word("yield")); + assert!(is_reserved_word("await")); + + assert!(!is_reserved_word("foo")); + assert!(!is_reserved_word("myEnum")); + assert!(!is_reserved_word("Enum")); + assert!(!is_reserved_word("")); + } + + #[test] + fn test_capitalize_first() { + assert_eq!(capitalize_first("enum"), "Enum"); + assert_eq!(capitalize_first("class"), "Class"); + assert_eq!(capitalize_first("foo"), "Foo"); + assert_eq!(capitalize_first(""), ""); + assert_eq!(capitalize_first("a"), "A"); + assert_eq!(capitalize_first("ABC"), "ABC"); + } + + #[test] + fn test_identifier_re_sanitization() { + assert_eq!(IDENTIFIER_RE.replace_all("foo-bar", "_"), "foo_bar"); + assert_eq!(IDENTIFIER_RE.replace_all("@scope/pkg", "_"), "_scope_pkg"); + assert_eq!(IDENTIFIER_RE.replace_all("hello_world", "_"), "hello_world"); + } +} diff --git a/src/html/util.rs b/src/html/util.rs index 8b1877557..8a6780efc 100644 --- a/src/html/util.rs +++ b/src/html/util.rs @@ -31,6 +31,7 @@ lazy_static! { pub enum IdKind { Constructor, + ConstructSignature, Property, Method, Function, @@ -54,6 +55,7 @@ impl IdKind { fn as_str(&self) -> &'static str { match self { IdKind::Constructor => "constructor", + IdKind::ConstructSignature => "construct_signature", IdKind::Property => "property", IdKind::Method => "method", IdKind::Function => "function", diff --git a/tests/snapshots/html_test__diff_comprehensive_diff_only.snap b/tests/snapshots/html_test__diff_comprehensive_diff_only.snap index 4c7562f9f..55397cc6d 100644 --- a/tests/snapshots/html_test__diff_comprehensive_diff_only.snap +++ b/tests/snapshots/html_test__diff_comprehensive_diff_only.snap @@ -33,11 +33,11 @@ expression: pages ], [ "./~/AdvancedSerializable.decompress.json", - "{\"kind\":\"SymbolPageCtx\",\"html_head_ctx\":{\"title\":\"AdvancedSerializable.decompress - default - documentation\",\"current_file\":\".\",\"stylesheet_url\":\"../styles.css\",\"page_stylesheet_url\":\"../page.css\",\"reset_stylesheet_url\":\"../reset.css\",\"url_search_index\":\"../search_index.js\",\"script_js\":\"../script.js\",\"fuse_js\":\"../fuse.js\",\"search_js\":\"../search.js\",\"darkmode_toggle_js\":\"../darkmode_toggle.js\",\"head_inject\":null,\"disable_search\":false},\"symbol_group_ctx\":{\"name\":\"AdvancedSerializable.decompress\",\"symbols\":[{\"kind\":{\"kind\":\"Method\",\"char\":\"m\",\"title\":\"Method\",\"title_lowercase\":\"method\",\"title_plural\":\"Methods\"},\"usage\":null,\"tags\":[],\"subtitle\":null,\"content\":[{\"kind\":\"function\",\"value\":{\"functions\":[{\"anchor\":{\"id\":\"function_advancedserializable_decompress_0\"},\"name\":\"AdvancedSerializable.decompress\",\"summary\":\"(data: Uint8Array): T\",\"deprecated\":null,\"content\":{\"id\":\"\",\"docs\":null,\"sections\":[]}}]}}],\"deprecated\":null,\"source_href\":null}],\"diff_status\":{\"kind\":\"modified\"}},\"breadcrumbs_ctx\":{\"root\":{\"name\":\"index\",\"href\":\"../\"},\"current_entrypoint\":{\"name\":\"default\",\"href\":\"../\"},\"entrypoints\":[{\"name\":\"all symbols\",\"href\":\".././all_symbols.html\"},{\"name\":\"default\",\"href\":\"../\"}],\"symbol\":[{\"name\":\"AdvancedSerializable\",\"href\":\"../././~/AdvancedSerializable.html\"},{\"name\":\"decompress\",\"href\":\"../././~/AdvancedSerializable.decompress.html\"}]},\"toc_ctx\":{\"usages\":{\"usages\":[{\"name\":\"\",\"content\":\"
import { type AdvancedSerializable } from ".";\\n
\\n
\",\"icon\":null,\"additional_css\":\"\"}],\"composed\":false},\"top_symbols\":null,\"document_navigation_str\":null,\"document_navigation\":[]},\"disable_search\":false,\"categories_panel\":null}" + "{\"kind\":\"SymbolPageCtx\",\"html_head_ctx\":{\"title\":\"AdvancedSerializable.decompress - default - documentation\",\"current_file\":\".\",\"stylesheet_url\":\"../styles.css\",\"page_stylesheet_url\":\"../page.css\",\"reset_stylesheet_url\":\"../reset.css\",\"url_search_index\":\"../search_index.js\",\"script_js\":\"../script.js\",\"fuse_js\":\"../fuse.js\",\"search_js\":\"../search.js\",\"darkmode_toggle_js\":\"../darkmode_toggle.js\",\"head_inject\":null,\"disable_search\":false},\"symbol_group_ctx\":{\"name\":\"AdvancedSerializable.decompress\",\"symbols\":[{\"kind\":{\"kind\":\"Method\",\"char\":\"m\",\"title\":\"Method\",\"title_lowercase\":\"method\",\"title_plural\":\"Methods\"},\"usage\":null,\"tags\":[],\"subtitle\":null,\"content\":[{\"kind\":\"function\",\"value\":{\"functions\":[{\"anchor\":{\"id\":\"function_advancedserializable_decompress_0\"},\"name\":\"AdvancedSerializable.decompress\",\"summary\":\"(data: Uint8Array): T\",\"deprecated\":null,\"content\":{\"id\":\"\",\"docs\":null,\"sections\":[]}}]}}],\"deprecated\":null,\"source_href\":null}],\"diff_status\":{\"kind\":\"modified\"}},\"breadcrumbs_ctx\":{\"root\":{\"name\":\"index\",\"href\":\"../\"},\"current_entrypoint\":{\"name\":\"default\",\"href\":\"../\"},\"entrypoints\":[{\"name\":\"all symbols\",\"href\":\".././all_symbols.html\"},{\"name\":\"default\",\"href\":\"../\"}],\"symbol\":[{\"name\":\"AdvancedSerializable\",\"href\":\"../././~/AdvancedSerializable.html\"},{\"name\":\"decompress\",\"href\":\"../././~/AdvancedSerializable.decompress.html\"}]},\"toc_ctx\":{\"usages\":{\"usages\":[{\"name\":\"\",\"content\":\"
import { type AdvancedSerializable } from ".";\\n
\\n
\",\"icon\":null,\"additional_css\":\"\"}],\"composed\":false},\"top_symbols\":null,\"document_navigation_str\":null,\"document_navigation\":[]},\"disable_search\":false,\"categories_panel\":null}" ], [ "./~/AdvancedSerializable.json", - "{\"kind\":\"SymbolPageCtx\",\"html_head_ctx\":{\"title\":\"AdvancedSerializable - default - documentation\",\"current_file\":\".\",\"stylesheet_url\":\"../styles.css\",\"page_stylesheet_url\":\"../page.css\",\"reset_stylesheet_url\":\"../reset.css\",\"url_search_index\":\"../search_index.js\",\"script_js\":\"../script.js\",\"fuse_js\":\"../fuse.js\",\"search_js\":\"../search.js\",\"darkmode_toggle_js\":\"../darkmode_toggle.js\",\"head_inject\":null,\"disable_search\":false},\"symbol_group_ctx\":{\"name\":\"AdvancedSerializable\",\"symbols\":[{\"kind\":{\"kind\":\"Interface\",\"char\":\"I\",\"title\":\"Interface\",\"title_lowercase\":\"interface\",\"title_plural\":\"Interfaces\"},\"usage\":null,\"tags\":[],\"subtitle\":{\"kind\":\"interface\",\"value\":{\"extends\":[\"Serializable<T>\",\"Disposable\"],\"extends_added\":[\"Disposable\"]}},\"content\":[{\"kind\":\"other\",\"value\":{\"id\":\"\",\"docs\":null,\"sections\":[{\"header\":{\"title\":\"Methods\",\"anchor\":{\"id\":\"methods\"},\"href\":null,\"doc\":null},\"content\":{\"kind\":\"doc_entry\",\"content\":[{\"name_prefix\":null,\"name\":\"compress\",\"name_href\":\"../././~/AdvancedSerializable.compress.html\",\"content\":\"(
level: number,
format?: string
): Uint8Array\",\"anchor\":{\"id\":\"method_compress_1\"},\"tags\":[],\"js_doc\":null,\"source_href\":null,\"diff_status\":{\"kind\":\"modified\"},\"old_content\":\"(level: number): Uint8Array\"},{\"name_prefix\":null,\"name\":\"decompress\",\"name_href\":\"../././~/AdvancedSerializable.decompress.html\",\"content\":\"(data: Uint8Array): T\",\"anchor\":{\"id\":\"method_decompress_2\"},\"tags\":[],\"js_doc\":\"

Decompress binary data.

\\n
\",\"source_href\":null,\"diff_status\":{\"kind\":\"added\"}}]}}]}}],\"deprecated\":null,\"source_href\":null}],\"diff_status\":{\"kind\":\"modified\"}},\"breadcrumbs_ctx\":{\"root\":{\"name\":\"index\",\"href\":\"../\"},\"current_entrypoint\":{\"name\":\"default\",\"href\":\"../\"},\"entrypoints\":[{\"name\":\"all symbols\",\"href\":\".././all_symbols.html\"},{\"name\":\"default\",\"href\":\"../\"}],\"symbol\":[{\"name\":\"AdvancedSerializable\",\"href\":\"../././~/AdvancedSerializable.html\"}]},\"toc_ctx\":{\"usages\":{\"usages\":[{\"name\":\"\",\"content\":\"
import { type AdvancedSerializable } from ".";\\n
\\n
\",\"icon\":null,\"additional_css\":\"\"}],\"composed\":false},\"top_symbols\":null,\"document_navigation_str\":\"\",\"document_navigation\":[{\"level\":1,\"content\":\"Methods\",\"anchor\":\"methods\"},{\"level\":2,\"content\":\"compress\",\"anchor\":\"method_compress_1\"},{\"level\":2,\"content\":\"decompress\",\"anchor\":\"method_decompress_2\"}]},\"disable_search\":false,\"categories_panel\":null}" + "{\"kind\":\"SymbolPageCtx\",\"html_head_ctx\":{\"title\":\"AdvancedSerializable - default - documentation\",\"current_file\":\".\",\"stylesheet_url\":\"../styles.css\",\"page_stylesheet_url\":\"../page.css\",\"reset_stylesheet_url\":\"../reset.css\",\"url_search_index\":\"../search_index.js\",\"script_js\":\"../script.js\",\"fuse_js\":\"../fuse.js\",\"search_js\":\"../search.js\",\"darkmode_toggle_js\":\"../darkmode_toggle.js\",\"head_inject\":null,\"disable_search\":false},\"symbol_group_ctx\":{\"name\":\"AdvancedSerializable\",\"symbols\":[{\"kind\":{\"kind\":\"Interface\",\"char\":\"I\",\"title\":\"Interface\",\"title_lowercase\":\"interface\",\"title_plural\":\"Interfaces\"},\"usage\":null,\"tags\":[],\"subtitle\":{\"kind\":\"interface\",\"value\":{\"extends\":[\"Serializable<T>\",\"Disposable\"],\"extends_added\":[\"Disposable\"]}},\"content\":[{\"kind\":\"other\",\"value\":{\"id\":\"\",\"docs\":null,\"sections\":[{\"header\":{\"title\":\"Constructors\",\"anchor\":{\"id\":\"constructors\"},\"href\":null,\"doc\":null},\"content\":{\"kind\":\"doc_entry\",\"content\":[{\"name_prefix\":\"new\",\"name\":null,\"name_href\":null,\"content\":\"(data: Uint8Array): AdvancedSerializable<T>\",\"anchor\":{\"id\":\"construct_signature_0\"},\"tags\":[],\"js_doc\":null,\"source_href\":null,\"diff_status\":{\"kind\":\"modified\"},\"old_content\":\"(data: string): AdvancedSerializable<T>\"}]}},{\"header\":{\"title\":\"Methods\",\"anchor\":{\"id\":\"methods\"},\"href\":null,\"doc\":null},\"content\":{\"kind\":\"doc_entry\",\"content\":[{\"name_prefix\":null,\"name\":\"compress\",\"name_href\":\"../././~/AdvancedSerializable.compress.html\",\"content\":\"(
level: number,
format?: string
): Uint8Array\",\"anchor\":{\"id\":\"method_compress_1\"},\"tags\":[],\"js_doc\":null,\"source_href\":null,\"diff_status\":{\"kind\":\"modified\"},\"old_content\":\"(level: number): Uint8Array\"},{\"name_prefix\":null,\"name\":\"decompress\",\"name_href\":\"../././~/AdvancedSerializable.decompress.html\",\"content\":\"(data: Uint8Array): T\",\"anchor\":{\"id\":\"method_decompress_2\"},\"tags\":[],\"js_doc\":\"

Decompress binary data.

\\n
\",\"source_href\":null,\"diff_status\":{\"kind\":\"added\"}}]}}]}}],\"deprecated\":null,\"source_href\":null}],\"diff_status\":{\"kind\":\"modified\"}},\"breadcrumbs_ctx\":{\"root\":{\"name\":\"index\",\"href\":\"../\"},\"current_entrypoint\":{\"name\":\"default\",\"href\":\"../\"},\"entrypoints\":[{\"name\":\"all symbols\",\"href\":\".././all_symbols.html\"},{\"name\":\"default\",\"href\":\"../\"}],\"symbol\":[{\"name\":\"AdvancedSerializable\",\"href\":\"../././~/AdvancedSerializable.html\"}]},\"toc_ctx\":{\"usages\":{\"usages\":[{\"name\":\"\",\"content\":\"
import { type AdvancedSerializable } from ".";\\n
\\n
\",\"icon\":null,\"additional_css\":\"\"}],\"composed\":false},\"top_symbols\":null,\"document_navigation_str\":\"\",\"document_navigation\":[{\"level\":1,\"content\":\"Constructors\",\"anchor\":\"constructors\"},{\"level\":1,\"content\":\"Methods\",\"anchor\":\"methods\"},{\"level\":2,\"content\":\"compress\",\"anchor\":\"method_compress_1\"},{\"level\":2,\"content\":\"decompress\",\"anchor\":\"method_decompress_2\"}]},\"disable_search\":false,\"categories_panel\":null}" ], [ "./~/AdvancedSerializable.toBinary.json", @@ -161,11 +161,11 @@ expression: pages ], [ "./~/Parser.parse.json", - "{\"kind\":\"SymbolPageCtx\",\"html_head_ctx\":{\"title\":\"Parser.parse - default - documentation\",\"current_file\":\".\",\"stylesheet_url\":\"../styles.css\",\"page_stylesheet_url\":\"../page.css\",\"reset_stylesheet_url\":\"../reset.css\",\"url_search_index\":\"../search_index.js\",\"script_js\":\"../script.js\",\"fuse_js\":\"../fuse.js\",\"search_js\":\"../search.js\",\"darkmode_toggle_js\":\"../darkmode_toggle.js\",\"head_inject\":null,\"disable_search\":false},\"symbol_group_ctx\":{\"name\":\"Parser.parse\",\"symbols\":[{\"kind\":{\"kind\":\"Method\",\"char\":\"m\",\"title\":\"Method\",\"title_lowercase\":\"method\",\"title_plural\":\"Methods\"},\"usage\":null,\"tags\":[],\"subtitle\":null,\"content\":[{\"kind\":\"function\",\"value\":{\"functions\":[{\"anchor\":{\"id\":\"function_parser_parse_0\"},\"name\":\"Parser.parse\",\"summary\":\"(input: string): T\",\"deprecated\":null,\"content\":{\"id\":\"\",\"docs\":null,\"sections\":[]}}]}}],\"deprecated\":null,\"source_href\":null}],\"diff_status\":{\"kind\":\"modified\"}},\"breadcrumbs_ctx\":{\"root\":{\"name\":\"index\",\"href\":\"../\"},\"current_entrypoint\":{\"name\":\"default\",\"href\":\"../\"},\"entrypoints\":[{\"name\":\"all symbols\",\"href\":\".././all_symbols.html\"},{\"name\":\"default\",\"href\":\"../\"}],\"symbol\":[{\"name\":\"Parser\",\"href\":\"../././~/Parser.html\"},{\"name\":\"parse\",\"href\":\"../././~/Parser.parse.html\"}]},\"toc_ctx\":{\"usages\":{\"usages\":[{\"name\":\"\",\"content\":\"
import { type Parser } from ".";\\n
\\n
\",\"icon\":null,\"additional_css\":\"\"}],\"composed\":false},\"top_symbols\":null,\"document_navigation_str\":null,\"document_navigation\":[]},\"disable_search\":false,\"categories_panel\":null}" + "{\"kind\":\"SymbolPageCtx\",\"html_head_ctx\":{\"title\":\"Parser.parse - default - documentation\",\"current_file\":\".\",\"stylesheet_url\":\"../styles.css\",\"page_stylesheet_url\":\"../page.css\",\"reset_stylesheet_url\":\"../reset.css\",\"url_search_index\":\"../search_index.js\",\"script_js\":\"../script.js\",\"fuse_js\":\"../fuse.js\",\"search_js\":\"../search.js\",\"darkmode_toggle_js\":\"../darkmode_toggle.js\",\"head_inject\":null,\"disable_search\":false},\"symbol_group_ctx\":{\"name\":\"Parser.parse\",\"symbols\":[{\"kind\":{\"kind\":\"Method\",\"char\":\"m\",\"title\":\"Method\",\"title_lowercase\":\"method\",\"title_plural\":\"Methods\"},\"usage\":null,\"tags\":[],\"subtitle\":null,\"content\":[{\"kind\":\"function\",\"value\":{\"functions\":[{\"anchor\":{\"id\":\"function_parser_parse_0\"},\"name\":\"Parser.parse\",\"summary\":\"(input: string): T\",\"deprecated\":null,\"content\":{\"id\":\"\",\"docs\":null,\"sections\":[]}}]}}],\"deprecated\":null,\"source_href\":null}],\"diff_status\":{\"kind\":\"modified\"}},\"breadcrumbs_ctx\":{\"root\":{\"name\":\"index\",\"href\":\"../\"},\"current_entrypoint\":{\"name\":\"default\",\"href\":\"../\"},\"entrypoints\":[{\"name\":\"all symbols\",\"href\":\".././all_symbols.html\"},{\"name\":\"default\",\"href\":\"../\"}],\"symbol\":[{\"name\":\"Parser\",\"href\":\"../././~/Parser.html\"},{\"name\":\"parse\",\"href\":\"../././~/Parser.parse.html\"}]},\"toc_ctx\":{\"usages\":{\"usages\":[{\"name\":\"\",\"content\":\"
import { type Parser } from ".";\\n
\\n
\",\"icon\":null,\"additional_css\":\"\"}],\"composed\":false},\"top_symbols\":null,\"document_navigation_str\":null,\"document_navigation\":[]},\"disable_search\":false,\"categories_panel\":null}" ], [ "./~/Parser.tryParse.json", - "{\"kind\":\"SymbolPageCtx\",\"html_head_ctx\":{\"title\":\"Parser.tryParse - default - documentation\",\"current_file\":\".\",\"stylesheet_url\":\"../styles.css\",\"page_stylesheet_url\":\"../page.css\",\"reset_stylesheet_url\":\"../reset.css\",\"url_search_index\":\"../search_index.js\",\"script_js\":\"../script.js\",\"fuse_js\":\"../fuse.js\",\"search_js\":\"../search.js\",\"darkmode_toggle_js\":\"../darkmode_toggle.js\",\"head_inject\":null,\"disable_search\":false},\"symbol_group_ctx\":{\"name\":\"Parser.tryParse\",\"symbols\":[{\"kind\":{\"kind\":\"Method\",\"char\":\"m\",\"title\":\"Method\",\"title_lowercase\":\"method\",\"title_plural\":\"Methods\"},\"usage\":null,\"tags\":[],\"subtitle\":null,\"content\":[{\"kind\":\"function\",\"value\":{\"functions\":[{\"anchor\":{\"id\":\"function_parser_tryparse_0\"},\"name\":\"Parser.tryParse\",\"summary\":\"(input: string): T | null\",\"deprecated\":null,\"content\":{\"id\":\"\",\"docs\":null,\"sections\":[]}}]}}],\"deprecated\":null,\"source_href\":null}],\"diff_status\":{\"kind\":\"modified\"}},\"breadcrumbs_ctx\":{\"root\":{\"name\":\"index\",\"href\":\"../\"},\"current_entrypoint\":{\"name\":\"default\",\"href\":\"../\"},\"entrypoints\":[{\"name\":\"all symbols\",\"href\":\".././all_symbols.html\"},{\"name\":\"default\",\"href\":\"../\"}],\"symbol\":[{\"name\":\"Parser\",\"href\":\"../././~/Parser.html\"},{\"name\":\"tryParse\",\"href\":\"../././~/Parser.tryParse.html\"}]},\"toc_ctx\":{\"usages\":{\"usages\":[{\"name\":\"\",\"content\":\"
import { type Parser } from ".";\\n
\\n
\",\"icon\":null,\"additional_css\":\"\"}],\"composed\":false},\"top_symbols\":null,\"document_navigation_str\":null,\"document_navigation\":[]},\"disable_search\":false,\"categories_panel\":null}" + "{\"kind\":\"SymbolPageCtx\",\"html_head_ctx\":{\"title\":\"Parser.tryParse - default - documentation\",\"current_file\":\".\",\"stylesheet_url\":\"../styles.css\",\"page_stylesheet_url\":\"../page.css\",\"reset_stylesheet_url\":\"../reset.css\",\"url_search_index\":\"../search_index.js\",\"script_js\":\"../script.js\",\"fuse_js\":\"../fuse.js\",\"search_js\":\"../search.js\",\"darkmode_toggle_js\":\"../darkmode_toggle.js\",\"head_inject\":null,\"disable_search\":false},\"symbol_group_ctx\":{\"name\":\"Parser.tryParse\",\"symbols\":[{\"kind\":{\"kind\":\"Method\",\"char\":\"m\",\"title\":\"Method\",\"title_lowercase\":\"method\",\"title_plural\":\"Methods\"},\"usage\":null,\"tags\":[],\"subtitle\":null,\"content\":[{\"kind\":\"function\",\"value\":{\"functions\":[{\"anchor\":{\"id\":\"function_parser_tryparse_0\"},\"name\":\"Parser.tryParse\",\"summary\":\"(input: string): T | null\",\"deprecated\":null,\"content\":{\"id\":\"\",\"docs\":null,\"sections\":[]}}]}}],\"deprecated\":null,\"source_href\":null}],\"diff_status\":{\"kind\":\"modified\"}},\"breadcrumbs_ctx\":{\"root\":{\"name\":\"index\",\"href\":\"../\"},\"current_entrypoint\":{\"name\":\"default\",\"href\":\"../\"},\"entrypoints\":[{\"name\":\"all symbols\",\"href\":\".././all_symbols.html\"},{\"name\":\"default\",\"href\":\"../\"}],\"symbol\":[{\"name\":\"Parser\",\"href\":\"../././~/Parser.html\"},{\"name\":\"tryParse\",\"href\":\"../././~/Parser.tryParse.html\"}]},\"toc_ctx\":{\"usages\":{\"usages\":[{\"name\":\"\",\"content\":\"
import { type Parser } from ".";\\n
\\n
\",\"icon\":null,\"additional_css\":\"\"}],\"composed\":false},\"top_symbols\":null,\"document_navigation_str\":null,\"document_navigation\":[]},\"disable_search\":false,\"categories_panel\":null}" ], [ "./~/Router.json", @@ -189,7 +189,7 @@ expression: pages ], [ "./~/Serializable.fromString.json", - "{\"kind\":\"SymbolPageCtx\",\"html_head_ctx\":{\"title\":\"Serializable.fromString - default - documentation\",\"current_file\":\".\",\"stylesheet_url\":\"../styles.css\",\"page_stylesheet_url\":\"../page.css\",\"reset_stylesheet_url\":\"../reset.css\",\"url_search_index\":\"../search_index.js\",\"script_js\":\"../script.js\",\"fuse_js\":\"../fuse.js\",\"search_js\":\"../search.js\",\"darkmode_toggle_js\":\"../darkmode_toggle.js\",\"head_inject\":null,\"disable_search\":false},\"symbol_group_ctx\":{\"name\":\"Serializable.fromString\",\"symbols\":[{\"kind\":{\"kind\":\"Method\",\"char\":\"m\",\"title\":\"Method\",\"title_lowercase\":\"method\",\"title_plural\":\"Methods\"},\"usage\":null,\"tags\":[],\"subtitle\":null,\"content\":[{\"kind\":\"function\",\"value\":{\"functions\":[{\"anchor\":{\"id\":\"function_serializable_fromstring_0\"},\"name\":\"Serializable.fromString\",\"summary\":\"(input: string): T\",\"deprecated\":null,\"content\":{\"id\":\"\",\"docs\":null,\"sections\":[]}}]}}],\"deprecated\":null,\"source_href\":null}],\"diff_status\":{\"kind\":\"modified\"}},\"breadcrumbs_ctx\":{\"root\":{\"name\":\"index\",\"href\":\"../\"},\"current_entrypoint\":{\"name\":\"default\",\"href\":\"../\"},\"entrypoints\":[{\"name\":\"all symbols\",\"href\":\".././all_symbols.html\"},{\"name\":\"default\",\"href\":\"../\"}],\"symbol\":[{\"name\":\"Serializable\",\"href\":\"../././~/Serializable.html\"},{\"name\":\"fromString\",\"href\":\"../././~/Serializable.fromString.html\"}]},\"toc_ctx\":{\"usages\":{\"usages\":[{\"name\":\"\",\"content\":\"
import { type Serializable } from ".";\\n
\\n
\",\"icon\":null,\"additional_css\":\"\"}],\"composed\":false},\"top_symbols\":null,\"document_navigation_str\":null,\"document_navigation\":[]},\"disable_search\":false,\"categories_panel\":null}" + "{\"kind\":\"SymbolPageCtx\",\"html_head_ctx\":{\"title\":\"Serializable.fromString - default - documentation\",\"current_file\":\".\",\"stylesheet_url\":\"../styles.css\",\"page_stylesheet_url\":\"../page.css\",\"reset_stylesheet_url\":\"../reset.css\",\"url_search_index\":\"../search_index.js\",\"script_js\":\"../script.js\",\"fuse_js\":\"../fuse.js\",\"search_js\":\"../search.js\",\"darkmode_toggle_js\":\"../darkmode_toggle.js\",\"head_inject\":null,\"disable_search\":false},\"symbol_group_ctx\":{\"name\":\"Serializable.fromString\",\"symbols\":[{\"kind\":{\"kind\":\"Method\",\"char\":\"m\",\"title\":\"Method\",\"title_lowercase\":\"method\",\"title_plural\":\"Methods\"},\"usage\":null,\"tags\":[],\"subtitle\":null,\"content\":[{\"kind\":\"function\",\"value\":{\"functions\":[{\"anchor\":{\"id\":\"function_serializable_fromstring_0\"},\"name\":\"Serializable.fromString\",\"summary\":\"(input: string): T\",\"deprecated\":null,\"content\":{\"id\":\"\",\"docs\":null,\"sections\":[]}}]}}],\"deprecated\":null,\"source_href\":null}],\"diff_status\":{\"kind\":\"modified\"}},\"breadcrumbs_ctx\":{\"root\":{\"name\":\"index\",\"href\":\"../\"},\"current_entrypoint\":{\"name\":\"default\",\"href\":\"../\"},\"entrypoints\":[{\"name\":\"all symbols\",\"href\":\".././all_symbols.html\"},{\"name\":\"default\",\"href\":\"../\"}],\"symbol\":[{\"name\":\"Serializable\",\"href\":\"../././~/Serializable.html\"},{\"name\":\"fromString\",\"href\":\"../././~/Serializable.fromString.html\"}]},\"toc_ctx\":{\"usages\":{\"usages\":[{\"name\":\"\",\"content\":\"
import { type Serializable } from ".";\\n
\\n
\",\"icon\":null,\"additional_css\":\"\"}],\"composed\":false},\"top_symbols\":null,\"document_navigation_str\":null,\"document_navigation\":[]},\"disable_search\":false,\"categories_panel\":null}" ], [ "./~/Serializable.json", @@ -257,10 +257,10 @@ expression: pages ], [ "./~/validate.json", - "{\"kind\":\"SymbolPageCtx\",\"html_head_ctx\":{\"title\":\"validate - default - documentation\",\"current_file\":\".\",\"stylesheet_url\":\"../styles.css\",\"page_stylesheet_url\":\"../page.css\",\"reset_stylesheet_url\":\"../reset.css\",\"url_search_index\":\"../search_index.js\",\"script_js\":\"../script.js\",\"fuse_js\":\"../fuse.js\",\"search_js\":\"../search.js\",\"darkmode_toggle_js\":\"../darkmode_toggle.js\",\"head_inject\":null,\"disable_search\":false},\"symbol_group_ctx\":{\"name\":\"validate\",\"symbols\":[{\"kind\":{\"kind\":\"Function\",\"char\":\"f\",\"title\":\"Function\",\"title_lowercase\":\"function\",\"title_plural\":\"Functions\"},\"usage\":null,\"tags\":[],\"subtitle\":null,\"content\":[{\"kind\":\"function\",\"value\":{\"functions\":[{\"anchor\":{\"id\":\"function_validate_0\"},\"name\":\"validate\",\"summary\":\"<T>(
input: unknown,
schema: Schema<T>
): input is T\",\"deprecated\":\"

Use validateAsync() instead.

\\n
\",\"content\":{\"id\":\"\",\"docs\":null,\"sections\":[{\"header\":{\"title\":\"Parameters\",\"anchor\":{\"id\":\"parameters\"},\"href\":null,\"doc\":null},\"content\":{\"kind\":\"doc_entry\",\"content\":[{\"name_prefix\":null,\"name\":\"input\",\"name_href\":null,\"content\":\": unknown\",\"anchor\":{\"id\":\"function_validate_0_parameter_input\"},\"tags\":[],\"js_doc\":null,\"source_href\":null,\"diff_status\":{\"kind\":\"renamed\",\"old_name\":\"data\"}}]}},{\"header\":{\"title\":\"Return Type\",\"anchor\":{\"id\":\"return-type\"},\"href\":null,\"doc\":null},\"content\":{\"kind\":\"doc_entry\",\"content\":[{\"name_prefix\":null,\"name\":null,\"name_href\":null,\"content\":\"input is T\",\"anchor\":{\"id\":\"function_validate_0_return\"},\"tags\":[],\"js_doc\":null,\"source_href\":null,\"diff_status\":{\"kind\":\"modified\"},\"old_content\":\"data is T\"}]}},{\"header\":{\"title\":\"Throws\",\"anchor\":{\"id\":\"throws\"},\"href\":null,\"doc\":null},\"content\":{\"kind\":\"doc_entry\",\"content\":[{\"name_prefix\":null,\"name\":null,\"name_href\":null,\"content\":\"TypeError\",\"anchor\":{\"id\":\"function_validate_0_throws_0\"},\"tags\":[],\"js_doc\":\"

If input is not valid.

\\n
\",\"source_href\":null,\"diff_status\":{\"kind\":\"modified\"},\"old_content\":\"TypeError\"},{\"name_prefix\":null,\"name\":null,\"name_href\":null,\"content\":\"SyntaxError\",\"anchor\":{\"id\":\"function_validate_0_throws_1\"},\"tags\":[],\"js_doc\":\"

If schema is malformed.

\\n
\",\"source_href\":null,\"diff_status\":{\"kind\":\"added\"}},{\"name_prefix\":null,\"name\":null,\"name_href\":null,\"content\":\"RangeError\",\"anchor\":{\"id\":\"function_validate_0_throws_2\"},\"tags\":[],\"js_doc\":\"

If data is out of range.

\\n
\",\"source_href\":null,\"diff_status\":{\"kind\":\"removed\"}}]}}]}}]}}],\"deprecated\":null,\"source_href\":null}],\"diff_status\":{\"kind\":\"modified\"}},\"breadcrumbs_ctx\":{\"root\":{\"name\":\"index\",\"href\":\"../\"},\"current_entrypoint\":{\"name\":\"default\",\"href\":\"../\"},\"entrypoints\":[{\"name\":\"all symbols\",\"href\":\".././all_symbols.html\"},{\"name\":\"default\",\"href\":\"../\"}],\"symbol\":[{\"name\":\"validate\",\"href\":\"../././~/validate.html\"}]},\"toc_ctx\":{\"usages\":{\"usages\":[{\"name\":\"\",\"content\":\"
import { validate } from ".";\\n
\\n
\",\"icon\":null,\"additional_css\":\"\"}],\"composed\":false},\"top_symbols\":null,\"document_navigation_str\":\"\",\"document_navigation\":[{\"level\":1,\"content\":\"Parameters\",\"anchor\":\"parameters\"},{\"level\":2,\"content\":\"input\",\"anchor\":\"function_validate_0_parameter_input\"},{\"level\":1,\"content\":\"Return Type\",\"anchor\":\"return-type\"},{\"level\":1,\"content\":\"Throws\",\"anchor\":\"throws\"}]},\"disable_search\":false,\"categories_panel\":null}" + "{\"kind\":\"SymbolPageCtx\",\"html_head_ctx\":{\"title\":\"validate - default - documentation\",\"current_file\":\".\",\"stylesheet_url\":\"../styles.css\",\"page_stylesheet_url\":\"../page.css\",\"reset_stylesheet_url\":\"../reset.css\",\"url_search_index\":\"../search_index.js\",\"script_js\":\"../script.js\",\"fuse_js\":\"../fuse.js\",\"search_js\":\"../search.js\",\"darkmode_toggle_js\":\"../darkmode_toggle.js\",\"head_inject\":null,\"disable_search\":false},\"symbol_group_ctx\":{\"name\":\"validate\",\"symbols\":[{\"kind\":{\"kind\":\"Function\",\"char\":\"f\",\"title\":\"Function\",\"title_lowercase\":\"function\",\"title_plural\":\"Functions\"},\"usage\":null,\"tags\":[],\"subtitle\":null,\"content\":[{\"kind\":\"function\",\"value\":{\"functions\":[{\"anchor\":{\"id\":\"function_validate_0\"},\"name\":\"validate\",\"summary\":\"<T>(
input: unknown,
schema: Schema<T>
): input is T\",\"deprecated\":\"

Use validateAsync() instead.

\\n
\",\"content\":{\"id\":\"\",\"docs\":null,\"sections\":[{\"header\":{\"title\":\"Parameters\",\"anchor\":{\"id\":\"parameters\"},\"href\":null,\"doc\":null},\"content\":{\"kind\":\"doc_entry\",\"content\":[{\"name_prefix\":null,\"name\":\"input\",\"name_href\":null,\"content\":\": unknown\",\"anchor\":{\"id\":\"function_validate_0_parameter_input\"},\"tags\":[],\"js_doc\":null,\"source_href\":null,\"diff_status\":{\"kind\":\"renamed\",\"old_name\":\"data\"}}]}},{\"header\":{\"title\":\"Return Type\",\"anchor\":{\"id\":\"return-type\"},\"href\":null,\"doc\":null},\"content\":{\"kind\":\"doc_entry\",\"content\":[{\"name_prefix\":null,\"name\":null,\"name_href\":null,\"content\":\"input is T\",\"anchor\":{\"id\":\"function_validate_0_return\"},\"tags\":[],\"js_doc\":null,\"source_href\":null,\"diff_status\":{\"kind\":\"modified\"},\"old_content\":\"data is T\"}]}},{\"header\":{\"title\":\"Throws\",\"anchor\":{\"id\":\"throws\"},\"href\":null,\"doc\":null},\"content\":{\"kind\":\"doc_entry\",\"content\":[{\"name_prefix\":null,\"name\":null,\"name_href\":null,\"content\":\"TypeError\",\"anchor\":{\"id\":\"function_validate_0_throws_0\"},\"tags\":[],\"js_doc\":\"

If input is not valid.

\\n
\",\"source_href\":null,\"diff_status\":{\"kind\":\"modified\"},\"old_content\":\"TypeError\"},{\"name_prefix\":null,\"name\":null,\"name_href\":null,\"content\":\"SyntaxError\",\"anchor\":{\"id\":\"function_validate_0_throws_1\"},\"tags\":[],\"js_doc\":\"

If schema is malformed.

\\n
\",\"source_href\":null,\"diff_status\":{\"kind\":\"added\"}},{\"name_prefix\":null,\"name\":null,\"name_href\":null,\"content\":\"RangeError\",\"anchor\":{\"id\":\"function_validate_0_throws_2\"},\"tags\":[],\"js_doc\":\"

If data is out of range.

\\n
\",\"source_href\":null,\"diff_status\":{\"kind\":\"removed\"}}]}}]}}]}}],\"deprecated\":null,\"source_href\":null}],\"diff_status\":{\"kind\":\"modified\"}},\"breadcrumbs_ctx\":{\"root\":{\"name\":\"index\",\"href\":\"../\"},\"current_entrypoint\":{\"name\":\"default\",\"href\":\"../\"},\"entrypoints\":[{\"name\":\"all symbols\",\"href\":\".././all_symbols.html\"},{\"name\":\"default\",\"href\":\"../\"}],\"symbol\":[{\"name\":\"validate\",\"href\":\"../././~/validate.html\"}]},\"toc_ctx\":{\"usages\":{\"usages\":[{\"name\":\"\",\"content\":\"
import { validate } from ".";\\n
\\n
\",\"icon\":null,\"additional_css\":\"\"}],\"composed\":false},\"top_symbols\":null,\"document_navigation_str\":\"\",\"document_navigation\":[{\"level\":1,\"content\":\"Parameters\",\"anchor\":\"parameters\"},{\"level\":2,\"content\":\"input\",\"anchor\":\"function_validate_0_parameter_input\"},{\"level\":1,\"content\":\"Return Type\",\"anchor\":\"return-type\"},{\"level\":1,\"content\":\"Throws\",\"anchor\":\"throws\"}]},\"disable_search\":false,\"categories_panel\":null}" ], [ "./~/validateAsync.json", - "{\"kind\":\"SymbolPageCtx\",\"html_head_ctx\":{\"title\":\"validateAsync - default - documentation\",\"current_file\":\".\",\"stylesheet_url\":\"../styles.css\",\"page_stylesheet_url\":\"../page.css\",\"reset_stylesheet_url\":\"../reset.css\",\"url_search_index\":\"../search_index.js\",\"script_js\":\"../script.js\",\"fuse_js\":\"../fuse.js\",\"search_js\":\"../search.js\",\"darkmode_toggle_js\":\"../darkmode_toggle.js\",\"head_inject\":null,\"disable_search\":false},\"symbol_group_ctx\":{\"name\":\"validateAsync\",\"symbols\":[{\"kind\":{\"kind\":\"Function\",\"char\":\"f\",\"title\":\"Function\",\"title_lowercase\":\"function\",\"title_plural\":\"Functions\"},\"usage\":null,\"tags\":[],\"subtitle\":null,\"content\":[{\"kind\":\"function\",\"value\":{\"functions\":[{\"anchor\":{\"id\":\"function_validateasync_0\"},\"name\":\"validateAsync\",\"summary\":\"<T>(
data: unknown,
schema: Schema<T>
): Promise<T>\",\"deprecated\":null,\"content\":{\"id\":\"\",\"docs\":\"

Validate input data asynchronously.

\\n
\",\"sections\":[{\"header\":{\"title\":\"Type Parameters\",\"anchor\":{\"id\":\"type-parameters\"},\"href\":null,\"doc\":null},\"content\":{\"kind\":\"doc_entry\",\"content\":[{\"name_prefix\":null,\"name\":\"T\",\"name_href\":null,\"content\":\"\",\"anchor\":{\"id\":\"type_param_t\"},\"tags\":[],\"js_doc\":null,\"source_href\":null}]}},{\"header\":{\"title\":\"Parameters\",\"anchor\":{\"id\":\"parameters\"},\"href\":null,\"doc\":null},\"content\":{\"kind\":\"doc_entry\",\"content\":[{\"name_prefix\":null,\"name\":\"data\",\"name_href\":null,\"content\":\": unknown\",\"anchor\":{\"id\":\"function_validateasync_0_parameter_data\"},\"tags\":[],\"js_doc\":\"

The data to validate.

\\n
\",\"source_href\":null},{\"name_prefix\":null,\"name\":\"schema\",\"name_href\":null,\"content\":\": Schema<T>\",\"anchor\":{\"id\":\"function_validateasync_0_parameter_schema\"},\"tags\":[],\"js_doc\":null,\"source_href\":null}]}},{\"header\":{\"title\":\"Return Type\",\"anchor\":{\"id\":\"return-type\"},\"href\":null,\"doc\":null},\"content\":{\"kind\":\"doc_entry\",\"content\":[{\"name_prefix\":null,\"name\":null,\"name_href\":null,\"content\":\"Promise<T>\",\"anchor\":{\"id\":\"function_validateasync_0_return\"},\"tags\":[],\"js_doc\":null,\"source_href\":null}]}}]}}]}}],\"deprecated\":null,\"source_href\":null}],\"diff_status\":{\"kind\":\"added\"}},\"breadcrumbs_ctx\":{\"root\":{\"name\":\"index\",\"href\":\"../\"},\"current_entrypoint\":{\"name\":\"default\",\"href\":\"../\"},\"entrypoints\":[{\"name\":\"all symbols\",\"href\":\".././all_symbols.html\"},{\"name\":\"default\",\"href\":\"../\"}],\"symbol\":[{\"name\":\"validateAsync\",\"href\":\"../././~/validateAsync.html\"}]},\"toc_ctx\":{\"usages\":{\"usages\":[{\"name\":\"\",\"content\":\"
import { validateAsync } from ".";\\n
\\n
\",\"icon\":null,\"additional_css\":\"\"}],\"composed\":false},\"top_symbols\":null,\"document_navigation_str\":\"\",\"document_navigation\":[{\"level\":1,\"content\":\"Type Parameters\",\"anchor\":\"type-parameters\"},{\"level\":2,\"content\":\"T\",\"anchor\":\"type_param_t\"},{\"level\":1,\"content\":\"Parameters\",\"anchor\":\"parameters\"},{\"level\":2,\"content\":\"data\",\"anchor\":\"function_validateasync_0_parameter_data\"},{\"level\":2,\"content\":\"schema\",\"anchor\":\"function_validateasync_0_parameter_schema\"},{\"level\":1,\"content\":\"Return Type\",\"anchor\":\"return-type\"}]},\"disable_search\":false,\"categories_panel\":null}" + "{\"kind\":\"SymbolPageCtx\",\"html_head_ctx\":{\"title\":\"validateAsync - default - documentation\",\"current_file\":\".\",\"stylesheet_url\":\"../styles.css\",\"page_stylesheet_url\":\"../page.css\",\"reset_stylesheet_url\":\"../reset.css\",\"url_search_index\":\"../search_index.js\",\"script_js\":\"../script.js\",\"fuse_js\":\"../fuse.js\",\"search_js\":\"../search.js\",\"darkmode_toggle_js\":\"../darkmode_toggle.js\",\"head_inject\":null,\"disable_search\":false},\"symbol_group_ctx\":{\"name\":\"validateAsync\",\"symbols\":[{\"kind\":{\"kind\":\"Function\",\"char\":\"f\",\"title\":\"Function\",\"title_lowercase\":\"function\",\"title_plural\":\"Functions\"},\"usage\":null,\"tags\":[],\"subtitle\":null,\"content\":[{\"kind\":\"function\",\"value\":{\"functions\":[{\"anchor\":{\"id\":\"function_validateasync_0\"},\"name\":\"validateAsync\",\"summary\":\"<T>(
data: unknown,
schema: Schema<T>
): Promise<T>\",\"deprecated\":null,\"content\":{\"id\":\"\",\"docs\":\"

Validate input data asynchronously.

\\n
\",\"sections\":[{\"header\":{\"title\":\"Type Parameters\",\"anchor\":{\"id\":\"type-parameters\"},\"href\":null,\"doc\":null},\"content\":{\"kind\":\"doc_entry\",\"content\":[{\"name_prefix\":null,\"name\":\"T\",\"name_href\":null,\"content\":\"\",\"anchor\":{\"id\":\"type_param_t\"},\"tags\":[],\"js_doc\":null,\"source_href\":null}]}},{\"header\":{\"title\":\"Parameters\",\"anchor\":{\"id\":\"parameters\"},\"href\":null,\"doc\":null},\"content\":{\"kind\":\"doc_entry\",\"content\":[{\"name_prefix\":null,\"name\":\"data\",\"name_href\":null,\"content\":\": unknown\",\"anchor\":{\"id\":\"function_validateasync_0_parameter_data\"},\"tags\":[],\"js_doc\":\"

The data to validate.

\\n
\",\"source_href\":null},{\"name_prefix\":null,\"name\":\"schema\",\"name_href\":null,\"content\":\": Schema<T>\",\"anchor\":{\"id\":\"function_validateasync_0_parameter_schema\"},\"tags\":[],\"js_doc\":null,\"source_href\":null}]}},{\"header\":{\"title\":\"Return Type\",\"anchor\":{\"id\":\"return-type\"},\"href\":null,\"doc\":null},\"content\":{\"kind\":\"doc_entry\",\"content\":[{\"name_prefix\":null,\"name\":null,\"name_href\":null,\"content\":\"Promise<T>\",\"anchor\":{\"id\":\"function_validateasync_0_return\"},\"tags\":[],\"js_doc\":null,\"source_href\":null}]}}]}}]}}],\"deprecated\":null,\"source_href\":null}],\"diff_status\":{\"kind\":\"added\"}},\"breadcrumbs_ctx\":{\"root\":{\"name\":\"index\",\"href\":\"../\"},\"current_entrypoint\":{\"name\":\"default\",\"href\":\"../\"},\"entrypoints\":[{\"name\":\"all symbols\",\"href\":\".././all_symbols.html\"},{\"name\":\"default\",\"href\":\"../\"}],\"symbol\":[{\"name\":\"validateAsync\",\"href\":\"../././~/validateAsync.html\"}]},\"toc_ctx\":{\"usages\":{\"usages\":[{\"name\":\"\",\"content\":\"
import { validateAsync } from ".";\\n
\\n
\",\"icon\":null,\"additional_css\":\"\"}],\"composed\":false},\"top_symbols\":null,\"document_navigation_str\":\"\",\"document_navigation\":[{\"level\":1,\"content\":\"Type Parameters\",\"anchor\":\"type-parameters\"},{\"level\":2,\"content\":\"T\",\"anchor\":\"type_param_t\"},{\"level\":1,\"content\":\"Parameters\",\"anchor\":\"parameters\"},{\"level\":2,\"content\":\"data\",\"anchor\":\"function_validateasync_0_parameter_data\"},{\"level\":2,\"content\":\"schema\",\"anchor\":\"function_validateasync_0_parameter_schema\"},{\"level\":1,\"content\":\"Return Type\",\"anchor\":\"return-type\"}]},\"disable_search\":false,\"categories_panel\":null}" ] ] diff --git a/tests/snapshots/html_test__diff_comprehensive_full.snap b/tests/snapshots/html_test__diff_comprehensive_full.snap index 7b83bebd2..dd129bb72 100644 --- a/tests/snapshots/html_test__diff_comprehensive_full.snap +++ b/tests/snapshots/html_test__diff_comprehensive_full.snap @@ -37,11 +37,11 @@ expression: pages ], [ "./~/AdvancedSerializable.decompress.json", - "{\"kind\":\"SymbolPageCtx\",\"html_head_ctx\":{\"title\":\"AdvancedSerializable.decompress - default - documentation\",\"current_file\":\".\",\"stylesheet_url\":\"../styles.css\",\"page_stylesheet_url\":\"../page.css\",\"reset_stylesheet_url\":\"../reset.css\",\"url_search_index\":\"../search_index.js\",\"script_js\":\"../script.js\",\"fuse_js\":\"../fuse.js\",\"search_js\":\"../search.js\",\"darkmode_toggle_js\":\"../darkmode_toggle.js\",\"head_inject\":null,\"disable_search\":false},\"symbol_group_ctx\":{\"name\":\"AdvancedSerializable.decompress\",\"symbols\":[{\"kind\":{\"kind\":\"Method\",\"char\":\"m\",\"title\":\"Method\",\"title_lowercase\":\"method\",\"title_plural\":\"Methods\"},\"usage\":null,\"tags\":[],\"subtitle\":null,\"content\":[{\"kind\":\"function\",\"value\":{\"functions\":[{\"anchor\":{\"id\":\"function_advancedserializable_decompress_0\"},\"name\":\"AdvancedSerializable.decompress\",\"summary\":\"(data: Uint8Array): T\",\"deprecated\":null,\"content\":{\"id\":\"\",\"docs\":\"

Decompress binary data.

\\n
\",\"sections\":[{\"header\":{\"title\":\"Parameters\",\"anchor\":{\"id\":\"parameters\"},\"href\":null,\"doc\":null},\"content\":{\"kind\":\"doc_entry\",\"content\":[{\"name_prefix\":null,\"name\":\"data\",\"name_href\":null,\"content\":\": Uint8Array\",\"anchor\":{\"id\":\"function_advancedserializable_decompress_0_parameter_data\"},\"tags\":[],\"js_doc\":null,\"source_href\":null}]}},{\"header\":{\"title\":\"Return Type\",\"anchor\":{\"id\":\"return-type\"},\"href\":null,\"doc\":null},\"content\":{\"kind\":\"doc_entry\",\"content\":[{\"name_prefix\":null,\"name\":null,\"name_href\":null,\"content\":\"T\",\"anchor\":{\"id\":\"function_advancedserializable_decompress_0_return\"},\"tags\":[],\"js_doc\":null,\"source_href\":null}]}}]}}]}}],\"deprecated\":null,\"source_href\":null}],\"diff_status\":{\"kind\":\"modified\"}},\"breadcrumbs_ctx\":{\"root\":{\"name\":\"index\",\"href\":\"../\"},\"current_entrypoint\":{\"name\":\"default\",\"href\":\"../\"},\"entrypoints\":[{\"name\":\"all symbols\",\"href\":\".././all_symbols.html\"},{\"name\":\"default\",\"href\":\"../\"}],\"symbol\":[{\"name\":\"AdvancedSerializable\",\"href\":\"../././~/AdvancedSerializable.html\"},{\"name\":\"decompress\",\"href\":\"../././~/AdvancedSerializable.decompress.html\"}]},\"toc_ctx\":{\"usages\":{\"usages\":[{\"name\":\"\",\"content\":\"
import { type AdvancedSerializable } from ".";\\n
\\n
\",\"icon\":null,\"additional_css\":\"\"}],\"composed\":false},\"top_symbols\":null,\"document_navigation_str\":\"\",\"document_navigation\":[{\"level\":1,\"content\":\"Parameters\",\"anchor\":\"parameters\"},{\"level\":2,\"content\":\"data\",\"anchor\":\"function_advancedserializable_decompress_0_parameter_data\"},{\"level\":1,\"content\":\"Return Type\",\"anchor\":\"return-type\"}]},\"disable_search\":false,\"categories_panel\":null}" + "{\"kind\":\"SymbolPageCtx\",\"html_head_ctx\":{\"title\":\"AdvancedSerializable.decompress - default - documentation\",\"current_file\":\".\",\"stylesheet_url\":\"../styles.css\",\"page_stylesheet_url\":\"../page.css\",\"reset_stylesheet_url\":\"../reset.css\",\"url_search_index\":\"../search_index.js\",\"script_js\":\"../script.js\",\"fuse_js\":\"../fuse.js\",\"search_js\":\"../search.js\",\"darkmode_toggle_js\":\"../darkmode_toggle.js\",\"head_inject\":null,\"disable_search\":false},\"symbol_group_ctx\":{\"name\":\"AdvancedSerializable.decompress\",\"symbols\":[{\"kind\":{\"kind\":\"Method\",\"char\":\"m\",\"title\":\"Method\",\"title_lowercase\":\"method\",\"title_plural\":\"Methods\"},\"usage\":null,\"tags\":[],\"subtitle\":null,\"content\":[{\"kind\":\"function\",\"value\":{\"functions\":[{\"anchor\":{\"id\":\"function_advancedserializable_decompress_0\"},\"name\":\"AdvancedSerializable.decompress\",\"summary\":\"(data: Uint8Array): T\",\"deprecated\":null,\"content\":{\"id\":\"\",\"docs\":\"

Decompress binary data.

\\n
\",\"sections\":[{\"header\":{\"title\":\"Parameters\",\"anchor\":{\"id\":\"parameters\"},\"href\":null,\"doc\":null},\"content\":{\"kind\":\"doc_entry\",\"content\":[{\"name_prefix\":null,\"name\":\"data\",\"name_href\":null,\"content\":\": Uint8Array\",\"anchor\":{\"id\":\"function_advancedserializable_decompress_0_parameter_data\"},\"tags\":[],\"js_doc\":null,\"source_href\":null}]}},{\"header\":{\"title\":\"Return Type\",\"anchor\":{\"id\":\"return-type\"},\"href\":null,\"doc\":null},\"content\":{\"kind\":\"doc_entry\",\"content\":[{\"name_prefix\":null,\"name\":null,\"name_href\":null,\"content\":\"T\",\"anchor\":{\"id\":\"function_advancedserializable_decompress_0_return\"},\"tags\":[],\"js_doc\":null,\"source_href\":null}]}}]}}]}}],\"deprecated\":null,\"source_href\":null}],\"diff_status\":{\"kind\":\"modified\"}},\"breadcrumbs_ctx\":{\"root\":{\"name\":\"index\",\"href\":\"../\"},\"current_entrypoint\":{\"name\":\"default\",\"href\":\"../\"},\"entrypoints\":[{\"name\":\"all symbols\",\"href\":\".././all_symbols.html\"},{\"name\":\"default\",\"href\":\"../\"}],\"symbol\":[{\"name\":\"AdvancedSerializable\",\"href\":\"../././~/AdvancedSerializable.html\"},{\"name\":\"decompress\",\"href\":\"../././~/AdvancedSerializable.decompress.html\"}]},\"toc_ctx\":{\"usages\":{\"usages\":[{\"name\":\"\",\"content\":\"
import { type AdvancedSerializable } from ".";\\n
\\n
\",\"icon\":null,\"additional_css\":\"\"}],\"composed\":false},\"top_symbols\":null,\"document_navigation_str\":\"\",\"document_navigation\":[{\"level\":1,\"content\":\"Parameters\",\"anchor\":\"parameters\"},{\"level\":2,\"content\":\"data\",\"anchor\":\"function_advancedserializable_decompress_0_parameter_data\"},{\"level\":1,\"content\":\"Return Type\",\"anchor\":\"return-type\"}]},\"disable_search\":false,\"categories_panel\":null}" ], [ "./~/AdvancedSerializable.json", - "{\"kind\":\"SymbolPageCtx\",\"html_head_ctx\":{\"title\":\"AdvancedSerializable - default - documentation\",\"current_file\":\".\",\"stylesheet_url\":\"../styles.css\",\"page_stylesheet_url\":\"../page.css\",\"reset_stylesheet_url\":\"../reset.css\",\"url_search_index\":\"../search_index.js\",\"script_js\":\"../script.js\",\"fuse_js\":\"../fuse.js\",\"search_js\":\"../search.js\",\"darkmode_toggle_js\":\"../darkmode_toggle.js\",\"head_inject\":null,\"disable_search\":false},\"symbol_group_ctx\":{\"name\":\"AdvancedSerializable\",\"symbols\":[{\"kind\":{\"kind\":\"Interface\",\"char\":\"I\",\"title\":\"Interface\",\"title_lowercase\":\"interface\",\"title_plural\":\"Interfaces\"},\"usage\":null,\"tags\":[],\"subtitle\":{\"kind\":\"interface\",\"value\":{\"extends\":[\"Serializable<T>\",\"Disposable\"],\"extends_added\":[\"Disposable\"]}},\"content\":[{\"kind\":\"other\",\"value\":{\"id\":\"\",\"docs\":\"

Extended serializable.

\\n
\",\"sections\":[{\"header\":{\"title\":\"Type Parameters\",\"anchor\":{\"id\":\"type-parameters\"},\"href\":null,\"doc\":null},\"content\":{\"kind\":\"doc_entry\",\"content\":[{\"name_prefix\":null,\"name\":\"T\",\"name_href\":null,\"content\":\"\",\"anchor\":{\"id\":\"type_param_t\"},\"tags\":[],\"js_doc\":null,\"source_href\":null}]}},{\"header\":{\"title\":\"Methods\",\"anchor\":{\"id\":\"methods\"},\"href\":null,\"doc\":null},\"content\":{\"kind\":\"doc_entry\",\"content\":[{\"name_prefix\":null,\"name\":\"toBinary\",\"name_href\":\"../././~/AdvancedSerializable.toBinary.html\",\"content\":\"(): Uint8Array\",\"anchor\":{\"id\":\"method_tobinary_0\"},\"tags\":[],\"js_doc\":null,\"source_href\":null},{\"name_prefix\":null,\"name\":\"compress\",\"name_href\":\"../././~/AdvancedSerializable.compress.html\",\"content\":\"(
level: number,
format?: string
): Uint8Array\",\"anchor\":{\"id\":\"method_compress_1\"},\"tags\":[],\"js_doc\":null,\"source_href\":null,\"diff_status\":{\"kind\":\"modified\"},\"old_content\":\"(level: number): Uint8Array\"},{\"name_prefix\":null,\"name\":\"decompress\",\"name_href\":\"../././~/AdvancedSerializable.decompress.html\",\"content\":\"(data: Uint8Array): T\",\"anchor\":{\"id\":\"method_decompress_2\"},\"tags\":[],\"js_doc\":\"

Decompress binary data.

\\n
\",\"source_href\":null,\"diff_status\":{\"kind\":\"added\"}}]}}]}}],\"deprecated\":null,\"source_href\":null}],\"diff_status\":{\"kind\":\"modified\"}},\"breadcrumbs_ctx\":{\"root\":{\"name\":\"index\",\"href\":\"../\"},\"current_entrypoint\":{\"name\":\"default\",\"href\":\"../\"},\"entrypoints\":[{\"name\":\"all symbols\",\"href\":\".././all_symbols.html\"},{\"name\":\"default\",\"href\":\"../\"}],\"symbol\":[{\"name\":\"AdvancedSerializable\",\"href\":\"../././~/AdvancedSerializable.html\"}]},\"toc_ctx\":{\"usages\":{\"usages\":[{\"name\":\"\",\"content\":\"
import { type AdvancedSerializable } from ".";\\n
\\n
\",\"icon\":null,\"additional_css\":\"\"}],\"composed\":false},\"top_symbols\":null,\"document_navigation_str\":\"\",\"document_navigation\":[{\"level\":1,\"content\":\"Type Parameters\",\"anchor\":\"type-parameters\"},{\"level\":2,\"content\":\"T\",\"anchor\":\"type_param_t\"},{\"level\":1,\"content\":\"Methods\",\"anchor\":\"methods\"},{\"level\":2,\"content\":\"toBinary\",\"anchor\":\"method_tobinary_0\"},{\"level\":2,\"content\":\"compress\",\"anchor\":\"method_compress_1\"},{\"level\":2,\"content\":\"decompress\",\"anchor\":\"method_decompress_2\"}]},\"disable_search\":false,\"categories_panel\":null}" + "{\"kind\":\"SymbolPageCtx\",\"html_head_ctx\":{\"title\":\"AdvancedSerializable - default - documentation\",\"current_file\":\".\",\"stylesheet_url\":\"../styles.css\",\"page_stylesheet_url\":\"../page.css\",\"reset_stylesheet_url\":\"../reset.css\",\"url_search_index\":\"../search_index.js\",\"script_js\":\"../script.js\",\"fuse_js\":\"../fuse.js\",\"search_js\":\"../search.js\",\"darkmode_toggle_js\":\"../darkmode_toggle.js\",\"head_inject\":null,\"disable_search\":false},\"symbol_group_ctx\":{\"name\":\"AdvancedSerializable\",\"symbols\":[{\"kind\":{\"kind\":\"Interface\",\"char\":\"I\",\"title\":\"Interface\",\"title_lowercase\":\"interface\",\"title_plural\":\"Interfaces\"},\"usage\":null,\"tags\":[],\"subtitle\":{\"kind\":\"interface\",\"value\":{\"extends\":[\"Serializable<T>\",\"Disposable\"],\"extends_added\":[\"Disposable\"]}},\"content\":[{\"kind\":\"other\",\"value\":{\"id\":\"\",\"docs\":\"

Extended serializable.

\\n
\",\"sections\":[{\"header\":{\"title\":\"Type Parameters\",\"anchor\":{\"id\":\"type-parameters\"},\"href\":null,\"doc\":null},\"content\":{\"kind\":\"doc_entry\",\"content\":[{\"name_prefix\":null,\"name\":\"T\",\"name_href\":null,\"content\":\"\",\"anchor\":{\"id\":\"type_param_t\"},\"tags\":[],\"js_doc\":null,\"source_href\":null}]}},{\"header\":{\"title\":\"Constructors\",\"anchor\":{\"id\":\"constructors\"},\"href\":null,\"doc\":null},\"content\":{\"kind\":\"doc_entry\",\"content\":[{\"name_prefix\":\"new\",\"name\":null,\"name_href\":null,\"content\":\"(data: Uint8Array): AdvancedSerializable<T>\",\"anchor\":{\"id\":\"construct_signature_0\"},\"tags\":[],\"js_doc\":null,\"source_href\":null,\"diff_status\":{\"kind\":\"modified\"},\"old_content\":\"(data: string): AdvancedSerializable<T>\"}]}},{\"header\":{\"title\":\"Methods\",\"anchor\":{\"id\":\"methods\"},\"href\":null,\"doc\":null},\"content\":{\"kind\":\"doc_entry\",\"content\":[{\"name_prefix\":null,\"name\":\"toBinary\",\"name_href\":\"../././~/AdvancedSerializable.toBinary.html\",\"content\":\"(): Uint8Array\",\"anchor\":{\"id\":\"method_tobinary_0\"},\"tags\":[],\"js_doc\":null,\"source_href\":null},{\"name_prefix\":null,\"name\":\"compress\",\"name_href\":\"../././~/AdvancedSerializable.compress.html\",\"content\":\"(
level: number,
format?: string
): Uint8Array\",\"anchor\":{\"id\":\"method_compress_1\"},\"tags\":[],\"js_doc\":null,\"source_href\":null,\"diff_status\":{\"kind\":\"modified\"},\"old_content\":\"(level: number): Uint8Array\"},{\"name_prefix\":null,\"name\":\"decompress\",\"name_href\":\"../././~/AdvancedSerializable.decompress.html\",\"content\":\"(data: Uint8Array): T\",\"anchor\":{\"id\":\"method_decompress_2\"},\"tags\":[],\"js_doc\":\"

Decompress binary data.

\\n
\",\"source_href\":null,\"diff_status\":{\"kind\":\"added\"}}]}}]}}],\"deprecated\":null,\"source_href\":null}],\"diff_status\":{\"kind\":\"modified\"}},\"breadcrumbs_ctx\":{\"root\":{\"name\":\"index\",\"href\":\"../\"},\"current_entrypoint\":{\"name\":\"default\",\"href\":\"../\"},\"entrypoints\":[{\"name\":\"all symbols\",\"href\":\".././all_symbols.html\"},{\"name\":\"default\",\"href\":\"../\"}],\"symbol\":[{\"name\":\"AdvancedSerializable\",\"href\":\"../././~/AdvancedSerializable.html\"}]},\"toc_ctx\":{\"usages\":{\"usages\":[{\"name\":\"\",\"content\":\"
import { type AdvancedSerializable } from ".";\\n
\\n
\",\"icon\":null,\"additional_css\":\"\"}],\"composed\":false},\"top_symbols\":null,\"document_navigation_str\":\"\",\"document_navigation\":[{\"level\":1,\"content\":\"Type Parameters\",\"anchor\":\"type-parameters\"},{\"level\":2,\"content\":\"T\",\"anchor\":\"type_param_t\"},{\"level\":1,\"content\":\"Constructors\",\"anchor\":\"constructors\"},{\"level\":1,\"content\":\"Methods\",\"anchor\":\"methods\"},{\"level\":2,\"content\":\"toBinary\",\"anchor\":\"method_tobinary_0\"},{\"level\":2,\"content\":\"compress\",\"anchor\":\"method_compress_1\"},{\"level\":2,\"content\":\"decompress\",\"anchor\":\"method_decompress_2\"}]},\"disable_search\":false,\"categories_panel\":null}" ], [ "./~/AdvancedSerializable.toBinary.json", @@ -93,7 +93,7 @@ expression: pages ], [ "./~/Animal.prototype.species.json", - "{\"kind\":\"SymbolPageCtx\",\"html_head_ctx\":{\"title\":\"Animal.prototype.species - default - documentation\",\"current_file\":\".\",\"stylesheet_url\":\"../styles.css\",\"page_stylesheet_url\":\"../page.css\",\"reset_stylesheet_url\":\"../reset.css\",\"url_search_index\":\"../search_index.js\",\"script_js\":\"../script.js\",\"fuse_js\":\"../fuse.js\",\"search_js\":\"../search.js\",\"darkmode_toggle_js\":\"../darkmode_toggle.js\",\"head_inject\":null,\"disable_search\":false},\"symbol_group_ctx\":{\"name\":\"Animal.prototype.species\",\"symbols\":[{\"kind\":{\"kind\":\"Property\",\"char\":\"p\",\"title\":\"Property\",\"title_lowercase\":\"property\",\"title_plural\":\"Properties\"},\"usage\":null,\"tags\":[],\"subtitle\":null,\"content\":[{\"kind\":\"other\",\"value\":{\"id\":\"\",\"docs\":null,\"sections\":[{\"header\":{\"title\":\"Type\",\"anchor\":{\"id\":\"type\"},\"href\":null,\"doc\":null},\"content\":{\"kind\":\"doc_entry\",\"content\":[{\"name_prefix\":null,\"name\":null,\"name_href\":null,\"content\":\"T\",\"anchor\":{\"id\":\"variable_animal_prototype_species\"},\"tags\":[],\"js_doc\":null,\"source_href\":null}]}}]}}],\"deprecated\":null,\"source_href\":null}],\"diff_status\":{\"kind\":\"modified\"}},\"breadcrumbs_ctx\":{\"root\":{\"name\":\"index\",\"href\":\"../\"},\"current_entrypoint\":{\"name\":\"default\",\"href\":\"../\"},\"entrypoints\":[{\"name\":\"all symbols\",\"href\":\".././all_symbols.html\"},{\"name\":\"default\",\"href\":\"../\"}],\"symbol\":[{\"name\":\"Animal\",\"href\":\"../././~/Animal.html\"},{\"name\":\"prototype\",\"href\":\"../././~/Animal.prototype.html\"},{\"name\":\"species\",\"href\":\"../././~/Animal.prototype.species.html\"}]},\"toc_ctx\":{\"usages\":{\"usages\":[{\"name\":\"\",\"content\":\"
import { Animal } from ".";\\n
\\n
\",\"icon\":null,\"additional_css\":\"\"}],\"composed\":false},\"top_symbols\":null,\"document_navigation_str\":\"\",\"document_navigation\":[{\"level\":1,\"content\":\"Type\",\"anchor\":\"type\"}]},\"disable_search\":false,\"categories_panel\":null}" + "{\"kind\":\"SymbolPageCtx\",\"html_head_ctx\":{\"title\":\"Animal.prototype.species - default - documentation\",\"current_file\":\".\",\"stylesheet_url\":\"../styles.css\",\"page_stylesheet_url\":\"../page.css\",\"reset_stylesheet_url\":\"../reset.css\",\"url_search_index\":\"../search_index.js\",\"script_js\":\"../script.js\",\"fuse_js\":\"../fuse.js\",\"search_js\":\"../search.js\",\"darkmode_toggle_js\":\"../darkmode_toggle.js\",\"head_inject\":null,\"disable_search\":false},\"symbol_group_ctx\":{\"name\":\"Animal.prototype.species\",\"symbols\":[{\"kind\":{\"kind\":\"Property\",\"char\":\"p\",\"title\":\"Property\",\"title_lowercase\":\"property\",\"title_plural\":\"Properties\"},\"usage\":null,\"tags\":[],\"subtitle\":null,\"content\":[{\"kind\":\"other\",\"value\":{\"id\":\"\",\"docs\":null,\"sections\":[{\"header\":{\"title\":\"Type\",\"anchor\":{\"id\":\"type\"},\"href\":null,\"doc\":null},\"content\":{\"kind\":\"doc_entry\",\"content\":[{\"name_prefix\":null,\"name\":null,\"name_href\":null,\"content\":\"T\",\"anchor\":{\"id\":\"variable_animal_prototype_species\"},\"tags\":[],\"js_doc\":null,\"source_href\":null}]}}]}}],\"deprecated\":null,\"source_href\":null}],\"diff_status\":{\"kind\":\"modified\"}},\"breadcrumbs_ctx\":{\"root\":{\"name\":\"index\",\"href\":\"../\"},\"current_entrypoint\":{\"name\":\"default\",\"href\":\"../\"},\"entrypoints\":[{\"name\":\"all symbols\",\"href\":\".././all_symbols.html\"},{\"name\":\"default\",\"href\":\"../\"}],\"symbol\":[{\"name\":\"Animal\",\"href\":\"../././~/Animal.html\"},{\"name\":\"prototype\",\"href\":\"../././~/Animal.prototype.html\"},{\"name\":\"species\",\"href\":\"../././~/Animal.prototype.species.html\"}]},\"toc_ctx\":{\"usages\":{\"usages\":[{\"name\":\"\",\"content\":\"
import { Animal } from ".";\\n
\\n
\",\"icon\":null,\"additional_css\":\"\"}],\"composed\":false},\"top_symbols\":null,\"document_navigation_str\":\"\",\"document_navigation\":[{\"level\":1,\"content\":\"Type\",\"anchor\":\"type\"}]},\"disable_search\":false,\"categories_panel\":null}" ], [ "./~/Animal.prototype.vocalize.json", @@ -157,7 +157,7 @@ expression: pages ], [ "./~/Config.settings.json", - "{\"kind\":\"SymbolPageCtx\",\"html_head_ctx\":{\"title\":\"Config.settings - default - documentation\",\"current_file\":\".\",\"stylesheet_url\":\"../styles.css\",\"page_stylesheet_url\":\"../page.css\",\"reset_stylesheet_url\":\"../reset.css\",\"url_search_index\":\"../search_index.js\",\"script_js\":\"../script.js\",\"fuse_js\":\"../fuse.js\",\"search_js\":\"../search.js\",\"darkmode_toggle_js\":\"../darkmode_toggle.js\",\"head_inject\":null,\"disable_search\":false},\"symbol_group_ctx\":{\"name\":\"Config.settings\",\"symbols\":[{\"kind\":{\"kind\":\"Property\",\"char\":\"p\",\"title\":\"Property\",\"title_lowercase\":\"property\",\"title_plural\":\"Properties\"},\"usage\":null,\"tags\":[],\"subtitle\":null,\"content\":[{\"kind\":\"other\",\"value\":{\"id\":\"\",\"docs\":null,\"sections\":[{\"header\":{\"title\":\"Type\",\"anchor\":{\"id\":\"type\"},\"href\":null,\"doc\":null},\"content\":{\"kind\":\"doc_entry\",\"content\":[{\"name_prefix\":null,\"name\":null,\"name_href\":null,\"content\":\"Record<string, T>\",\"anchor\":{\"id\":\"variable_config_settings\"},\"tags\":[],\"js_doc\":null,\"source_href\":null}]}}]}}],\"deprecated\":null,\"source_href\":null}]},\"breadcrumbs_ctx\":{\"root\":{\"name\":\"index\",\"href\":\"../\"},\"current_entrypoint\":{\"name\":\"default\",\"href\":\"../\"},\"entrypoints\":[{\"name\":\"all symbols\",\"href\":\".././all_symbols.html\"},{\"name\":\"default\",\"href\":\"../\"}],\"symbol\":[{\"name\":\"Config\",\"href\":\"../././~/Config.html\"},{\"name\":\"settings\",\"href\":\"../././~/Config.settings.html\"}]},\"toc_ctx\":{\"usages\":{\"usages\":[{\"name\":\"\",\"content\":\"
import { type Config } from ".";\\n
\\n
\",\"icon\":null,\"additional_css\":\"\"}],\"composed\":false},\"top_symbols\":null,\"document_navigation_str\":\"\",\"document_navigation\":[{\"level\":1,\"content\":\"Type\",\"anchor\":\"type\"}]},\"disable_search\":false,\"categories_panel\":null}" + "{\"kind\":\"SymbolPageCtx\",\"html_head_ctx\":{\"title\":\"Config.settings - default - documentation\",\"current_file\":\".\",\"stylesheet_url\":\"../styles.css\",\"page_stylesheet_url\":\"../page.css\",\"reset_stylesheet_url\":\"../reset.css\",\"url_search_index\":\"../search_index.js\",\"script_js\":\"../script.js\",\"fuse_js\":\"../fuse.js\",\"search_js\":\"../search.js\",\"darkmode_toggle_js\":\"../darkmode_toggle.js\",\"head_inject\":null,\"disable_search\":false},\"symbol_group_ctx\":{\"name\":\"Config.settings\",\"symbols\":[{\"kind\":{\"kind\":\"Property\",\"char\":\"p\",\"title\":\"Property\",\"title_lowercase\":\"property\",\"title_plural\":\"Properties\"},\"usage\":null,\"tags\":[],\"subtitle\":null,\"content\":[{\"kind\":\"other\",\"value\":{\"id\":\"\",\"docs\":null,\"sections\":[{\"header\":{\"title\":\"Type\",\"anchor\":{\"id\":\"type\"},\"href\":null,\"doc\":null},\"content\":{\"kind\":\"doc_entry\",\"content\":[{\"name_prefix\":null,\"name\":null,\"name_href\":null,\"content\":\"Record<string, T>\",\"anchor\":{\"id\":\"variable_config_settings\"},\"tags\":[],\"js_doc\":null,\"source_href\":null}]}}]}}],\"deprecated\":null,\"source_href\":null}]},\"breadcrumbs_ctx\":{\"root\":{\"name\":\"index\",\"href\":\"../\"},\"current_entrypoint\":{\"name\":\"default\",\"href\":\"../\"},\"entrypoints\":[{\"name\":\"all symbols\",\"href\":\".././all_symbols.html\"},{\"name\":\"default\",\"href\":\"../\"}],\"symbol\":[{\"name\":\"Config\",\"href\":\"../././~/Config.html\"},{\"name\":\"settings\",\"href\":\"../././~/Config.settings.html\"}]},\"toc_ctx\":{\"usages\":{\"usages\":[{\"name\":\"\",\"content\":\"
import { type Config } from ".";\\n
\\n
\",\"icon\":null,\"additional_css\":\"\"}],\"composed\":false},\"top_symbols\":null,\"document_navigation_str\":\"\",\"document_navigation\":[{\"level\":1,\"content\":\"Type\",\"anchor\":\"type\"}]},\"disable_search\":false,\"categories_panel\":null}" ], [ "./~/Config.verbose.json", @@ -201,11 +201,11 @@ expression: pages ], [ "./~/Parser.parse.json", - "{\"kind\":\"SymbolPageCtx\",\"html_head_ctx\":{\"title\":\"Parser.parse - default - documentation\",\"current_file\":\".\",\"stylesheet_url\":\"../styles.css\",\"page_stylesheet_url\":\"../page.css\",\"reset_stylesheet_url\":\"../reset.css\",\"url_search_index\":\"../search_index.js\",\"script_js\":\"../script.js\",\"fuse_js\":\"../fuse.js\",\"search_js\":\"../search.js\",\"darkmode_toggle_js\":\"../darkmode_toggle.js\",\"head_inject\":null,\"disable_search\":false},\"symbol_group_ctx\":{\"name\":\"Parser.parse\",\"symbols\":[{\"kind\":{\"kind\":\"Method\",\"char\":\"m\",\"title\":\"Method\",\"title_lowercase\":\"method\",\"title_plural\":\"Methods\"},\"usage\":null,\"tags\":[],\"subtitle\":null,\"content\":[{\"kind\":\"function\",\"value\":{\"functions\":[{\"anchor\":{\"id\":\"function_parser_parse_0\"},\"name\":\"Parser.parse\",\"summary\":\"(input: string): T\",\"deprecated\":null,\"content\":{\"id\":\"\",\"docs\":null,\"sections\":[{\"header\":{\"title\":\"Parameters\",\"anchor\":{\"id\":\"parameters\"},\"href\":null,\"doc\":null},\"content\":{\"kind\":\"doc_entry\",\"content\":[{\"name_prefix\":null,\"name\":\"input\",\"name_href\":null,\"content\":\": string\",\"anchor\":{\"id\":\"function_parser_parse_0_parameter_input\"},\"tags\":[],\"js_doc\":null,\"source_href\":null}]}},{\"header\":{\"title\":\"Return Type\",\"anchor\":{\"id\":\"return-type\"},\"href\":null,\"doc\":null},\"content\":{\"kind\":\"doc_entry\",\"content\":[{\"name_prefix\":null,\"name\":null,\"name_href\":null,\"content\":\"T\",\"anchor\":{\"id\":\"function_parser_parse_0_return\"},\"tags\":[],\"js_doc\":null,\"source_href\":null}]}}]}}]}}],\"deprecated\":null,\"source_href\":null}],\"diff_status\":{\"kind\":\"modified\"}},\"breadcrumbs_ctx\":{\"root\":{\"name\":\"index\",\"href\":\"../\"},\"current_entrypoint\":{\"name\":\"default\",\"href\":\"../\"},\"entrypoints\":[{\"name\":\"all symbols\",\"href\":\".././all_symbols.html\"},{\"name\":\"default\",\"href\":\"../\"}],\"symbol\":[{\"name\":\"Parser\",\"href\":\"../././~/Parser.html\"},{\"name\":\"parse\",\"href\":\"../././~/Parser.parse.html\"}]},\"toc_ctx\":{\"usages\":{\"usages\":[{\"name\":\"\",\"content\":\"
import { type Parser } from ".";\\n
\\n
\",\"icon\":null,\"additional_css\":\"\"}],\"composed\":false},\"top_symbols\":null,\"document_navigation_str\":\"\",\"document_navigation\":[{\"level\":1,\"content\":\"Parameters\",\"anchor\":\"parameters\"},{\"level\":2,\"content\":\"input\",\"anchor\":\"function_parser_parse_0_parameter_input\"},{\"level\":1,\"content\":\"Return Type\",\"anchor\":\"return-type\"}]},\"disable_search\":false,\"categories_panel\":null}" + "{\"kind\":\"SymbolPageCtx\",\"html_head_ctx\":{\"title\":\"Parser.parse - default - documentation\",\"current_file\":\".\",\"stylesheet_url\":\"../styles.css\",\"page_stylesheet_url\":\"../page.css\",\"reset_stylesheet_url\":\"../reset.css\",\"url_search_index\":\"../search_index.js\",\"script_js\":\"../script.js\",\"fuse_js\":\"../fuse.js\",\"search_js\":\"../search.js\",\"darkmode_toggle_js\":\"../darkmode_toggle.js\",\"head_inject\":null,\"disable_search\":false},\"symbol_group_ctx\":{\"name\":\"Parser.parse\",\"symbols\":[{\"kind\":{\"kind\":\"Method\",\"char\":\"m\",\"title\":\"Method\",\"title_lowercase\":\"method\",\"title_plural\":\"Methods\"},\"usage\":null,\"tags\":[],\"subtitle\":null,\"content\":[{\"kind\":\"function\",\"value\":{\"functions\":[{\"anchor\":{\"id\":\"function_parser_parse_0\"},\"name\":\"Parser.parse\",\"summary\":\"(input: string): T\",\"deprecated\":null,\"content\":{\"id\":\"\",\"docs\":null,\"sections\":[{\"header\":{\"title\":\"Parameters\",\"anchor\":{\"id\":\"parameters\"},\"href\":null,\"doc\":null},\"content\":{\"kind\":\"doc_entry\",\"content\":[{\"name_prefix\":null,\"name\":\"input\",\"name_href\":null,\"content\":\": string\",\"anchor\":{\"id\":\"function_parser_parse_0_parameter_input\"},\"tags\":[],\"js_doc\":null,\"source_href\":null}]}},{\"header\":{\"title\":\"Return Type\",\"anchor\":{\"id\":\"return-type\"},\"href\":null,\"doc\":null},\"content\":{\"kind\":\"doc_entry\",\"content\":[{\"name_prefix\":null,\"name\":null,\"name_href\":null,\"content\":\"T\",\"anchor\":{\"id\":\"function_parser_parse_0_return\"},\"tags\":[],\"js_doc\":null,\"source_href\":null}]}}]}}]}}],\"deprecated\":null,\"source_href\":null}],\"diff_status\":{\"kind\":\"modified\"}},\"breadcrumbs_ctx\":{\"root\":{\"name\":\"index\",\"href\":\"../\"},\"current_entrypoint\":{\"name\":\"default\",\"href\":\"../\"},\"entrypoints\":[{\"name\":\"all symbols\",\"href\":\".././all_symbols.html\"},{\"name\":\"default\",\"href\":\"../\"}],\"symbol\":[{\"name\":\"Parser\",\"href\":\"../././~/Parser.html\"},{\"name\":\"parse\",\"href\":\"../././~/Parser.parse.html\"}]},\"toc_ctx\":{\"usages\":{\"usages\":[{\"name\":\"\",\"content\":\"
import { type Parser } from ".";\\n
\\n
\",\"icon\":null,\"additional_css\":\"\"}],\"composed\":false},\"top_symbols\":null,\"document_navigation_str\":\"\",\"document_navigation\":[{\"level\":1,\"content\":\"Parameters\",\"anchor\":\"parameters\"},{\"level\":2,\"content\":\"input\",\"anchor\":\"function_parser_parse_0_parameter_input\"},{\"level\":1,\"content\":\"Return Type\",\"anchor\":\"return-type\"}]},\"disable_search\":false,\"categories_panel\":null}" ], [ "./~/Parser.tryParse.json", - "{\"kind\":\"SymbolPageCtx\",\"html_head_ctx\":{\"title\":\"Parser.tryParse - default - documentation\",\"current_file\":\".\",\"stylesheet_url\":\"../styles.css\",\"page_stylesheet_url\":\"../page.css\",\"reset_stylesheet_url\":\"../reset.css\",\"url_search_index\":\"../search_index.js\",\"script_js\":\"../script.js\",\"fuse_js\":\"../fuse.js\",\"search_js\":\"../search.js\",\"darkmode_toggle_js\":\"../darkmode_toggle.js\",\"head_inject\":null,\"disable_search\":false},\"symbol_group_ctx\":{\"name\":\"Parser.tryParse\",\"symbols\":[{\"kind\":{\"kind\":\"Method\",\"char\":\"m\",\"title\":\"Method\",\"title_lowercase\":\"method\",\"title_plural\":\"Methods\"},\"usage\":null,\"tags\":[],\"subtitle\":null,\"content\":[{\"kind\":\"function\",\"value\":{\"functions\":[{\"anchor\":{\"id\":\"function_parser_tryparse_0\"},\"name\":\"Parser.tryParse\",\"summary\":\"(input: string): T | null\",\"deprecated\":null,\"content\":{\"id\":\"\",\"docs\":null,\"sections\":[{\"header\":{\"title\":\"Parameters\",\"anchor\":{\"id\":\"parameters\"},\"href\":null,\"doc\":null},\"content\":{\"kind\":\"doc_entry\",\"content\":[{\"name_prefix\":null,\"name\":\"input\",\"name_href\":null,\"content\":\": string\",\"anchor\":{\"id\":\"function_parser_tryparse_0_parameter_input\"},\"tags\":[],\"js_doc\":null,\"source_href\":null}]}},{\"header\":{\"title\":\"Return Type\",\"anchor\":{\"id\":\"return-type\"},\"href\":null,\"doc\":null},\"content\":{\"kind\":\"doc_entry\",\"content\":[{\"name_prefix\":null,\"name\":null,\"name_href\":null,\"content\":\"T | null\",\"anchor\":{\"id\":\"function_parser_tryparse_0_return\"},\"tags\":[],\"js_doc\":null,\"source_href\":null}]}}]}}]}}],\"deprecated\":null,\"source_href\":null}],\"diff_status\":{\"kind\":\"modified\"}},\"breadcrumbs_ctx\":{\"root\":{\"name\":\"index\",\"href\":\"../\"},\"current_entrypoint\":{\"name\":\"default\",\"href\":\"../\"},\"entrypoints\":[{\"name\":\"all symbols\",\"href\":\".././all_symbols.html\"},{\"name\":\"default\",\"href\":\"../\"}],\"symbol\":[{\"name\":\"Parser\",\"href\":\"../././~/Parser.html\"},{\"name\":\"tryParse\",\"href\":\"../././~/Parser.tryParse.html\"}]},\"toc_ctx\":{\"usages\":{\"usages\":[{\"name\":\"\",\"content\":\"
import { type Parser } from ".";\\n
\\n
\",\"icon\":null,\"additional_css\":\"\"}],\"composed\":false},\"top_symbols\":null,\"document_navigation_str\":\"\",\"document_navigation\":[{\"level\":1,\"content\":\"Parameters\",\"anchor\":\"parameters\"},{\"level\":2,\"content\":\"input\",\"anchor\":\"function_parser_tryparse_0_parameter_input\"},{\"level\":1,\"content\":\"Return Type\",\"anchor\":\"return-type\"}]},\"disable_search\":false,\"categories_panel\":null}" + "{\"kind\":\"SymbolPageCtx\",\"html_head_ctx\":{\"title\":\"Parser.tryParse - default - documentation\",\"current_file\":\".\",\"stylesheet_url\":\"../styles.css\",\"page_stylesheet_url\":\"../page.css\",\"reset_stylesheet_url\":\"../reset.css\",\"url_search_index\":\"../search_index.js\",\"script_js\":\"../script.js\",\"fuse_js\":\"../fuse.js\",\"search_js\":\"../search.js\",\"darkmode_toggle_js\":\"../darkmode_toggle.js\",\"head_inject\":null,\"disable_search\":false},\"symbol_group_ctx\":{\"name\":\"Parser.tryParse\",\"symbols\":[{\"kind\":{\"kind\":\"Method\",\"char\":\"m\",\"title\":\"Method\",\"title_lowercase\":\"method\",\"title_plural\":\"Methods\"},\"usage\":null,\"tags\":[],\"subtitle\":null,\"content\":[{\"kind\":\"function\",\"value\":{\"functions\":[{\"anchor\":{\"id\":\"function_parser_tryparse_0\"},\"name\":\"Parser.tryParse\",\"summary\":\"(input: string): T | null\",\"deprecated\":null,\"content\":{\"id\":\"\",\"docs\":null,\"sections\":[{\"header\":{\"title\":\"Parameters\",\"anchor\":{\"id\":\"parameters\"},\"href\":null,\"doc\":null},\"content\":{\"kind\":\"doc_entry\",\"content\":[{\"name_prefix\":null,\"name\":\"input\",\"name_href\":null,\"content\":\": string\",\"anchor\":{\"id\":\"function_parser_tryparse_0_parameter_input\"},\"tags\":[],\"js_doc\":null,\"source_href\":null}]}},{\"header\":{\"title\":\"Return Type\",\"anchor\":{\"id\":\"return-type\"},\"href\":null,\"doc\":null},\"content\":{\"kind\":\"doc_entry\",\"content\":[{\"name_prefix\":null,\"name\":null,\"name_href\":null,\"content\":\"T | null\",\"anchor\":{\"id\":\"function_parser_tryparse_0_return\"},\"tags\":[],\"js_doc\":null,\"source_href\":null}]}}]}}]}}],\"deprecated\":null,\"source_href\":null}],\"diff_status\":{\"kind\":\"modified\"}},\"breadcrumbs_ctx\":{\"root\":{\"name\":\"index\",\"href\":\"../\"},\"current_entrypoint\":{\"name\":\"default\",\"href\":\"../\"},\"entrypoints\":[{\"name\":\"all symbols\",\"href\":\".././all_symbols.html\"},{\"name\":\"default\",\"href\":\"../\"}],\"symbol\":[{\"name\":\"Parser\",\"href\":\"../././~/Parser.html\"},{\"name\":\"tryParse\",\"href\":\"../././~/Parser.tryParse.html\"}]},\"toc_ctx\":{\"usages\":{\"usages\":[{\"name\":\"\",\"content\":\"
import { type Parser } from ".";\\n
\\n
\",\"icon\":null,\"additional_css\":\"\"}],\"composed\":false},\"top_symbols\":null,\"document_navigation_str\":\"\",\"document_navigation\":[{\"level\":1,\"content\":\"Parameters\",\"anchor\":\"parameters\"},{\"level\":2,\"content\":\"input\",\"anchor\":\"function_parser_tryparse_0_parameter_input\"},{\"level\":1,\"content\":\"Return Type\",\"anchor\":\"return-type\"}]},\"disable_search\":false,\"categories_panel\":null}" ], [ "./~/Router.json", @@ -229,7 +229,7 @@ expression: pages ], [ "./~/Serializable.fromString.json", - "{\"kind\":\"SymbolPageCtx\",\"html_head_ctx\":{\"title\":\"Serializable.fromString - default - documentation\",\"current_file\":\".\",\"stylesheet_url\":\"../styles.css\",\"page_stylesheet_url\":\"../page.css\",\"reset_stylesheet_url\":\"../reset.css\",\"url_search_index\":\"../search_index.js\",\"script_js\":\"../script.js\",\"fuse_js\":\"../fuse.js\",\"search_js\":\"../search.js\",\"darkmode_toggle_js\":\"../darkmode_toggle.js\",\"head_inject\":null,\"disable_search\":false},\"symbol_group_ctx\":{\"name\":\"Serializable.fromString\",\"symbols\":[{\"kind\":{\"kind\":\"Method\",\"char\":\"m\",\"title\":\"Method\",\"title_lowercase\":\"method\",\"title_plural\":\"Methods\"},\"usage\":null,\"tags\":[],\"subtitle\":null,\"content\":[{\"kind\":\"function\",\"value\":{\"functions\":[{\"anchor\":{\"id\":\"function_serializable_fromstring_0\"},\"name\":\"Serializable.fromString\",\"summary\":\"(input: string): T\",\"deprecated\":null,\"content\":{\"id\":\"\",\"docs\":\"

Parse from string.

\\n
\",\"sections\":[{\"header\":{\"title\":\"Parameters\",\"anchor\":{\"id\":\"parameters\"},\"href\":null,\"doc\":null},\"content\":{\"kind\":\"doc_entry\",\"content\":[{\"name_prefix\":null,\"name\":\"input\",\"name_href\":null,\"content\":\": string\",\"anchor\":{\"id\":\"function_serializable_fromstring_0_parameter_input\"},\"tags\":[],\"js_doc\":null,\"source_href\":null}]}},{\"header\":{\"title\":\"Return Type\",\"anchor\":{\"id\":\"return-type\"},\"href\":null,\"doc\":null},\"content\":{\"kind\":\"doc_entry\",\"content\":[{\"name_prefix\":null,\"name\":null,\"name_href\":null,\"content\":\"T\",\"anchor\":{\"id\":\"function_serializable_fromstring_0_return\"},\"tags\":[],\"js_doc\":null,\"source_href\":null}]}}]}}]}}],\"deprecated\":null,\"source_href\":null}],\"diff_status\":{\"kind\":\"modified\"}},\"breadcrumbs_ctx\":{\"root\":{\"name\":\"index\",\"href\":\"../\"},\"current_entrypoint\":{\"name\":\"default\",\"href\":\"../\"},\"entrypoints\":[{\"name\":\"all symbols\",\"href\":\".././all_symbols.html\"},{\"name\":\"default\",\"href\":\"../\"}],\"symbol\":[{\"name\":\"Serializable\",\"href\":\"../././~/Serializable.html\"},{\"name\":\"fromString\",\"href\":\"../././~/Serializable.fromString.html\"}]},\"toc_ctx\":{\"usages\":{\"usages\":[{\"name\":\"\",\"content\":\"
import { type Serializable } from ".";\\n
\\n
\",\"icon\":null,\"additional_css\":\"\"}],\"composed\":false},\"top_symbols\":null,\"document_navigation_str\":\"\",\"document_navigation\":[{\"level\":1,\"content\":\"Parameters\",\"anchor\":\"parameters\"},{\"level\":2,\"content\":\"input\",\"anchor\":\"function_serializable_fromstring_0_parameter_input\"},{\"level\":1,\"content\":\"Return Type\",\"anchor\":\"return-type\"}]},\"disable_search\":false,\"categories_panel\":null}" + "{\"kind\":\"SymbolPageCtx\",\"html_head_ctx\":{\"title\":\"Serializable.fromString - default - documentation\",\"current_file\":\".\",\"stylesheet_url\":\"../styles.css\",\"page_stylesheet_url\":\"../page.css\",\"reset_stylesheet_url\":\"../reset.css\",\"url_search_index\":\"../search_index.js\",\"script_js\":\"../script.js\",\"fuse_js\":\"../fuse.js\",\"search_js\":\"../search.js\",\"darkmode_toggle_js\":\"../darkmode_toggle.js\",\"head_inject\":null,\"disable_search\":false},\"symbol_group_ctx\":{\"name\":\"Serializable.fromString\",\"symbols\":[{\"kind\":{\"kind\":\"Method\",\"char\":\"m\",\"title\":\"Method\",\"title_lowercase\":\"method\",\"title_plural\":\"Methods\"},\"usage\":null,\"tags\":[],\"subtitle\":null,\"content\":[{\"kind\":\"function\",\"value\":{\"functions\":[{\"anchor\":{\"id\":\"function_serializable_fromstring_0\"},\"name\":\"Serializable.fromString\",\"summary\":\"(input: string): T\",\"deprecated\":null,\"content\":{\"id\":\"\",\"docs\":\"

Parse from string.

\\n
\",\"sections\":[{\"header\":{\"title\":\"Parameters\",\"anchor\":{\"id\":\"parameters\"},\"href\":null,\"doc\":null},\"content\":{\"kind\":\"doc_entry\",\"content\":[{\"name_prefix\":null,\"name\":\"input\",\"name_href\":null,\"content\":\": string\",\"anchor\":{\"id\":\"function_serializable_fromstring_0_parameter_input\"},\"tags\":[],\"js_doc\":null,\"source_href\":null}]}},{\"header\":{\"title\":\"Return Type\",\"anchor\":{\"id\":\"return-type\"},\"href\":null,\"doc\":null},\"content\":{\"kind\":\"doc_entry\",\"content\":[{\"name_prefix\":null,\"name\":null,\"name_href\":null,\"content\":\"T\",\"anchor\":{\"id\":\"function_serializable_fromstring_0_return\"},\"tags\":[],\"js_doc\":null,\"source_href\":null}]}}]}}]}}],\"deprecated\":null,\"source_href\":null}],\"diff_status\":{\"kind\":\"modified\"}},\"breadcrumbs_ctx\":{\"root\":{\"name\":\"index\",\"href\":\"../\"},\"current_entrypoint\":{\"name\":\"default\",\"href\":\"../\"},\"entrypoints\":[{\"name\":\"all symbols\",\"href\":\".././all_symbols.html\"},{\"name\":\"default\",\"href\":\"../\"}],\"symbol\":[{\"name\":\"Serializable\",\"href\":\"../././~/Serializable.html\"},{\"name\":\"fromString\",\"href\":\"../././~/Serializable.fromString.html\"}]},\"toc_ctx\":{\"usages\":{\"usages\":[{\"name\":\"\",\"content\":\"
import { type Serializable } from ".";\\n
\\n
\",\"icon\":null,\"additional_css\":\"\"}],\"composed\":false},\"top_symbols\":null,\"document_navigation_str\":\"\",\"document_navigation\":[{\"level\":1,\"content\":\"Parameters\",\"anchor\":\"parameters\"},{\"level\":2,\"content\":\"input\",\"anchor\":\"function_serializable_fromstring_0_parameter_input\"},{\"level\":1,\"content\":\"Return Type\",\"anchor\":\"return-type\"}]},\"disable_search\":false,\"categories_panel\":null}" ], [ "./~/Serializable.json", @@ -317,15 +317,15 @@ expression: pages ], [ "./~/transform.json", - "{\"kind\":\"SymbolPageCtx\",\"html_head_ctx\":{\"title\":\"transform - default - documentation\",\"current_file\":\".\",\"stylesheet_url\":\"../styles.css\",\"page_stylesheet_url\":\"../page.css\",\"reset_stylesheet_url\":\"../reset.css\",\"url_search_index\":\"../search_index.js\",\"script_js\":\"../script.js\",\"fuse_js\":\"../fuse.js\",\"search_js\":\"../search.js\",\"darkmode_toggle_js\":\"../darkmode_toggle.js\",\"head_inject\":null,\"disable_search\":false},\"symbol_group_ctx\":{\"name\":\"transform\",\"symbols\":[{\"kind\":{\"kind\":\"Function\",\"char\":\"f\",\"title\":\"Function\",\"title_lowercase\":\"function\",\"title_plural\":\"Functions\"},\"usage\":null,\"tags\":[],\"subtitle\":null,\"content\":[{\"kind\":\"function\",\"value\":{\"functions\":[{\"anchor\":{\"id\":\"function_transform_0\"},\"name\":\"transform\",\"summary\":\"<T>(input: T): T\",\"deprecated\":null,\"content\":{\"id\":\"\",\"docs\":\"

Identity transform.

\\n
\",\"sections\":[{\"header\":{\"title\":\"Type Parameters\",\"anchor\":{\"id\":\"type-parameters\"},\"href\":null,\"doc\":null},\"content\":{\"kind\":\"doc_entry\",\"content\":[{\"name_prefix\":null,\"name\":\"T\",\"name_href\":null,\"content\":\"\",\"anchor\":{\"id\":\"type_param_t\"},\"tags\":[],\"js_doc\":null,\"source_href\":null}]}},{\"header\":{\"title\":\"Parameters\",\"anchor\":{\"id\":\"parameters\"},\"href\":null,\"doc\":null},\"content\":{\"kind\":\"doc_entry\",\"content\":[{\"name_prefix\":null,\"name\":\"input\",\"name_href\":null,\"content\":\": T\",\"anchor\":{\"id\":\"function_transform_0_parameter_input\"},\"tags\":[],\"js_doc\":null,\"source_href\":null}]}},{\"header\":{\"title\":\"Return Type\",\"anchor\":{\"id\":\"return-type\"},\"href\":null,\"doc\":null},\"content\":{\"kind\":\"doc_entry\",\"content\":[{\"name_prefix\":null,\"name\":null,\"name_href\":null,\"content\":\"T\",\"anchor\":{\"id\":\"function_transform_0_return\"},\"tags\":[],\"js_doc\":null,\"source_href\":null}]}}]}}]}}],\"deprecated\":null,\"source_href\":null}]},\"breadcrumbs_ctx\":{\"root\":{\"name\":\"index\",\"href\":\"../\"},\"current_entrypoint\":{\"name\":\"default\",\"href\":\"../\"},\"entrypoints\":[{\"name\":\"all symbols\",\"href\":\".././all_symbols.html\"},{\"name\":\"default\",\"href\":\"../\"}],\"symbol\":[{\"name\":\"transform\",\"href\":\"../././~/transform.html\"}]},\"toc_ctx\":{\"usages\":{\"usages\":[{\"name\":\"\",\"content\":\"
import { transform } from ".";\\n
\\n
\",\"icon\":null,\"additional_css\":\"\"}],\"composed\":false},\"top_symbols\":null,\"document_navigation_str\":\"\",\"document_navigation\":[{\"level\":1,\"content\":\"Type Parameters\",\"anchor\":\"type-parameters\"},{\"level\":2,\"content\":\"T\",\"anchor\":\"type_param_t\"},{\"level\":1,\"content\":\"Parameters\",\"anchor\":\"parameters\"},{\"level\":2,\"content\":\"input\",\"anchor\":\"function_transform_0_parameter_input\"},{\"level\":1,\"content\":\"Return Type\",\"anchor\":\"return-type\"}]},\"disable_search\":false,\"categories_panel\":null}" + "{\"kind\":\"SymbolPageCtx\",\"html_head_ctx\":{\"title\":\"transform - default - documentation\",\"current_file\":\".\",\"stylesheet_url\":\"../styles.css\",\"page_stylesheet_url\":\"../page.css\",\"reset_stylesheet_url\":\"../reset.css\",\"url_search_index\":\"../search_index.js\",\"script_js\":\"../script.js\",\"fuse_js\":\"../fuse.js\",\"search_js\":\"../search.js\",\"darkmode_toggle_js\":\"../darkmode_toggle.js\",\"head_inject\":null,\"disable_search\":false},\"symbol_group_ctx\":{\"name\":\"transform\",\"symbols\":[{\"kind\":{\"kind\":\"Function\",\"char\":\"f\",\"title\":\"Function\",\"title_lowercase\":\"function\",\"title_plural\":\"Functions\"},\"usage\":null,\"tags\":[],\"subtitle\":null,\"content\":[{\"kind\":\"function\",\"value\":{\"functions\":[{\"anchor\":{\"id\":\"function_transform_0\"},\"name\":\"transform\",\"summary\":\"<T>(input: T): T\",\"deprecated\":null,\"content\":{\"id\":\"\",\"docs\":\"

Identity transform.

\\n
\",\"sections\":[{\"header\":{\"title\":\"Type Parameters\",\"anchor\":{\"id\":\"type-parameters\"},\"href\":null,\"doc\":null},\"content\":{\"kind\":\"doc_entry\",\"content\":[{\"name_prefix\":null,\"name\":\"T\",\"name_href\":null,\"content\":\"\",\"anchor\":{\"id\":\"type_param_t\"},\"tags\":[],\"js_doc\":null,\"source_href\":null}]}},{\"header\":{\"title\":\"Parameters\",\"anchor\":{\"id\":\"parameters\"},\"href\":null,\"doc\":null},\"content\":{\"kind\":\"doc_entry\",\"content\":[{\"name_prefix\":null,\"name\":\"input\",\"name_href\":null,\"content\":\": T\",\"anchor\":{\"id\":\"function_transform_0_parameter_input\"},\"tags\":[],\"js_doc\":null,\"source_href\":null}]}},{\"header\":{\"title\":\"Return Type\",\"anchor\":{\"id\":\"return-type\"},\"href\":null,\"doc\":null},\"content\":{\"kind\":\"doc_entry\",\"content\":[{\"name_prefix\":null,\"name\":null,\"name_href\":null,\"content\":\"T\",\"anchor\":{\"id\":\"function_transform_0_return\"},\"tags\":[],\"js_doc\":null,\"source_href\":null}]}}]}}]}}],\"deprecated\":null,\"source_href\":null}]},\"breadcrumbs_ctx\":{\"root\":{\"name\":\"index\",\"href\":\"../\"},\"current_entrypoint\":{\"name\":\"default\",\"href\":\"../\"},\"entrypoints\":[{\"name\":\"all symbols\",\"href\":\".././all_symbols.html\"},{\"name\":\"default\",\"href\":\"../\"}],\"symbol\":[{\"name\":\"transform\",\"href\":\"../././~/transform.html\"}]},\"toc_ctx\":{\"usages\":{\"usages\":[{\"name\":\"\",\"content\":\"
import { transform } from ".";\\n
\\n
\",\"icon\":null,\"additional_css\":\"\"}],\"composed\":false},\"top_symbols\":null,\"document_navigation_str\":\"\",\"document_navigation\":[{\"level\":1,\"content\":\"Type Parameters\",\"anchor\":\"type-parameters\"},{\"level\":2,\"content\":\"T\",\"anchor\":\"type_param_t\"},{\"level\":1,\"content\":\"Parameters\",\"anchor\":\"parameters\"},{\"level\":2,\"content\":\"input\",\"anchor\":\"function_transform_0_parameter_input\"},{\"level\":1,\"content\":\"Return Type\",\"anchor\":\"return-type\"}]},\"disable_search\":false,\"categories_panel\":null}" ], [ "./~/validate.json", - "{\"kind\":\"SymbolPageCtx\",\"html_head_ctx\":{\"title\":\"validate - default - documentation\",\"current_file\":\".\",\"stylesheet_url\":\"../styles.css\",\"page_stylesheet_url\":\"../page.css\",\"reset_stylesheet_url\":\"../reset.css\",\"url_search_index\":\"../search_index.js\",\"script_js\":\"../script.js\",\"fuse_js\":\"../fuse.js\",\"search_js\":\"../search.js\",\"darkmode_toggle_js\":\"../darkmode_toggle.js\",\"head_inject\":null,\"disable_search\":false},\"symbol_group_ctx\":{\"name\":\"validate\",\"symbols\":[{\"kind\":{\"kind\":\"Function\",\"char\":\"f\",\"title\":\"Function\",\"title_lowercase\":\"function\",\"title_plural\":\"Functions\"},\"usage\":null,\"tags\":[],\"subtitle\":null,\"content\":[{\"kind\":\"function\",\"value\":{\"functions\":[{\"anchor\":{\"id\":\"function_validate_0\"},\"name\":\"validate\",\"summary\":\"<T>(
input: unknown,
schema: Schema<T>
): input is T\",\"deprecated\":\"

Use validateAsync() instead.

\\n
\",\"content\":{\"id\":\"\",\"docs\":\"

Validate input data.

\\n
\",\"sections\":[{\"header\":{\"title\":\"Type Parameters\",\"anchor\":{\"id\":\"type-parameters\"},\"href\":null,\"doc\":null},\"content\":{\"kind\":\"doc_entry\",\"content\":[{\"name_prefix\":null,\"name\":\"T\",\"name_href\":null,\"content\":\"\",\"anchor\":{\"id\":\"type_param_t\"},\"tags\":[],\"js_doc\":null,\"source_href\":null}]}},{\"header\":{\"title\":\"Parameters\",\"anchor\":{\"id\":\"parameters\"},\"href\":null,\"doc\":null},\"content\":{\"kind\":\"doc_entry\",\"content\":[{\"name_prefix\":null,\"name\":\"input\",\"name_href\":null,\"content\":\": unknown\",\"anchor\":{\"id\":\"function_validate_0_parameter_input\"},\"tags\":[],\"js_doc\":null,\"source_href\":null,\"diff_status\":{\"kind\":\"renamed\",\"old_name\":\"data\"}},{\"name_prefix\":null,\"name\":\"schema\",\"name_href\":null,\"content\":\": Schema<T>\",\"anchor\":{\"id\":\"function_validate_0_parameter_schema\"},\"tags\":[],\"js_doc\":null,\"source_href\":null}]}},{\"header\":{\"title\":\"Return Type\",\"anchor\":{\"id\":\"return-type\"},\"href\":null,\"doc\":null},\"content\":{\"kind\":\"doc_entry\",\"content\":[{\"name_prefix\":null,\"name\":null,\"name_href\":null,\"content\":\"input is T\",\"anchor\":{\"id\":\"function_validate_0_return\"},\"tags\":[],\"js_doc\":null,\"source_href\":null,\"diff_status\":{\"kind\":\"modified\"},\"old_content\":\"data is T\"}]}},{\"header\":{\"title\":\"Throws\",\"anchor\":{\"id\":\"throws\"},\"href\":null,\"doc\":null},\"content\":{\"kind\":\"doc_entry\",\"content\":[{\"name_prefix\":null,\"name\":null,\"name_href\":null,\"content\":\"TypeError\",\"anchor\":{\"id\":\"function_validate_0_throws_0\"},\"tags\":[],\"js_doc\":\"

If input is not valid.

\\n
\",\"source_href\":null,\"diff_status\":{\"kind\":\"modified\"},\"old_content\":\"TypeError\"},{\"name_prefix\":null,\"name\":null,\"name_href\":null,\"content\":\"SyntaxError\",\"anchor\":{\"id\":\"function_validate_0_throws_1\"},\"tags\":[],\"js_doc\":\"

If schema is malformed.

\\n
\",\"source_href\":null,\"diff_status\":{\"kind\":\"added\"}},{\"name_prefix\":null,\"name\":null,\"name_href\":null,\"content\":\"RangeError\",\"anchor\":{\"id\":\"function_validate_0_throws_2\"},\"tags\":[],\"js_doc\":\"

If data is out of range.

\\n
\",\"source_href\":null,\"diff_status\":{\"kind\":\"removed\"}}]}}]}}]}}],\"deprecated\":null,\"source_href\":null}],\"diff_status\":{\"kind\":\"modified\"}},\"breadcrumbs_ctx\":{\"root\":{\"name\":\"index\",\"href\":\"../\"},\"current_entrypoint\":{\"name\":\"default\",\"href\":\"../\"},\"entrypoints\":[{\"name\":\"all symbols\",\"href\":\".././all_symbols.html\"},{\"name\":\"default\",\"href\":\"../\"}],\"symbol\":[{\"name\":\"validate\",\"href\":\"../././~/validate.html\"}]},\"toc_ctx\":{\"usages\":{\"usages\":[{\"name\":\"\",\"content\":\"
import { validate } from ".";\\n
\\n
\",\"icon\":null,\"additional_css\":\"\"}],\"composed\":false},\"top_symbols\":null,\"document_navigation_str\":\"\",\"document_navigation\":[{\"level\":1,\"content\":\"Type Parameters\",\"anchor\":\"type-parameters\"},{\"level\":2,\"content\":\"T\",\"anchor\":\"type_param_t\"},{\"level\":1,\"content\":\"Parameters\",\"anchor\":\"parameters\"},{\"level\":2,\"content\":\"input\",\"anchor\":\"function_validate_0_parameter_input\"},{\"level\":2,\"content\":\"schema\",\"anchor\":\"function_validate_0_parameter_schema\"},{\"level\":1,\"content\":\"Return Type\",\"anchor\":\"return-type\"},{\"level\":1,\"content\":\"Throws\",\"anchor\":\"throws\"}]},\"disable_search\":false,\"categories_panel\":null}" + "{\"kind\":\"SymbolPageCtx\",\"html_head_ctx\":{\"title\":\"validate - default - documentation\",\"current_file\":\".\",\"stylesheet_url\":\"../styles.css\",\"page_stylesheet_url\":\"../page.css\",\"reset_stylesheet_url\":\"../reset.css\",\"url_search_index\":\"../search_index.js\",\"script_js\":\"../script.js\",\"fuse_js\":\"../fuse.js\",\"search_js\":\"../search.js\",\"darkmode_toggle_js\":\"../darkmode_toggle.js\",\"head_inject\":null,\"disable_search\":false},\"symbol_group_ctx\":{\"name\":\"validate\",\"symbols\":[{\"kind\":{\"kind\":\"Function\",\"char\":\"f\",\"title\":\"Function\",\"title_lowercase\":\"function\",\"title_plural\":\"Functions\"},\"usage\":null,\"tags\":[],\"subtitle\":null,\"content\":[{\"kind\":\"function\",\"value\":{\"functions\":[{\"anchor\":{\"id\":\"function_validate_0\"},\"name\":\"validate\",\"summary\":\"<T>(
input: unknown,
schema: Schema<T>
): input is T\",\"deprecated\":\"

Use validateAsync() instead.

\\n
\",\"content\":{\"id\":\"\",\"docs\":\"

Validate input data.

\\n
\",\"sections\":[{\"header\":{\"title\":\"Type Parameters\",\"anchor\":{\"id\":\"type-parameters\"},\"href\":null,\"doc\":null},\"content\":{\"kind\":\"doc_entry\",\"content\":[{\"name_prefix\":null,\"name\":\"T\",\"name_href\":null,\"content\":\"\",\"anchor\":{\"id\":\"type_param_t\"},\"tags\":[],\"js_doc\":null,\"source_href\":null}]}},{\"header\":{\"title\":\"Parameters\",\"anchor\":{\"id\":\"parameters\"},\"href\":null,\"doc\":null},\"content\":{\"kind\":\"doc_entry\",\"content\":[{\"name_prefix\":null,\"name\":\"input\",\"name_href\":null,\"content\":\": unknown\",\"anchor\":{\"id\":\"function_validate_0_parameter_input\"},\"tags\":[],\"js_doc\":null,\"source_href\":null,\"diff_status\":{\"kind\":\"renamed\",\"old_name\":\"data\"}},{\"name_prefix\":null,\"name\":\"schema\",\"name_href\":null,\"content\":\": Schema<T>\",\"anchor\":{\"id\":\"function_validate_0_parameter_schema\"},\"tags\":[],\"js_doc\":null,\"source_href\":null}]}},{\"header\":{\"title\":\"Return Type\",\"anchor\":{\"id\":\"return-type\"},\"href\":null,\"doc\":null},\"content\":{\"kind\":\"doc_entry\",\"content\":[{\"name_prefix\":null,\"name\":null,\"name_href\":null,\"content\":\"input is T\",\"anchor\":{\"id\":\"function_validate_0_return\"},\"tags\":[],\"js_doc\":null,\"source_href\":null,\"diff_status\":{\"kind\":\"modified\"},\"old_content\":\"data is T\"}]}},{\"header\":{\"title\":\"Throws\",\"anchor\":{\"id\":\"throws\"},\"href\":null,\"doc\":null},\"content\":{\"kind\":\"doc_entry\",\"content\":[{\"name_prefix\":null,\"name\":null,\"name_href\":null,\"content\":\"TypeError\",\"anchor\":{\"id\":\"function_validate_0_throws_0\"},\"tags\":[],\"js_doc\":\"

If input is not valid.

\\n
\",\"source_href\":null,\"diff_status\":{\"kind\":\"modified\"},\"old_content\":\"TypeError\"},{\"name_prefix\":null,\"name\":null,\"name_href\":null,\"content\":\"SyntaxError\",\"anchor\":{\"id\":\"function_validate_0_throws_1\"},\"tags\":[],\"js_doc\":\"

If schema is malformed.

\\n
\",\"source_href\":null,\"diff_status\":{\"kind\":\"added\"}},{\"name_prefix\":null,\"name\":null,\"name_href\":null,\"content\":\"RangeError\",\"anchor\":{\"id\":\"function_validate_0_throws_2\"},\"tags\":[],\"js_doc\":\"

If data is out of range.

\\n
\",\"source_href\":null,\"diff_status\":{\"kind\":\"removed\"}}]}}]}}]}}],\"deprecated\":null,\"source_href\":null}],\"diff_status\":{\"kind\":\"modified\"}},\"breadcrumbs_ctx\":{\"root\":{\"name\":\"index\",\"href\":\"../\"},\"current_entrypoint\":{\"name\":\"default\",\"href\":\"../\"},\"entrypoints\":[{\"name\":\"all symbols\",\"href\":\".././all_symbols.html\"},{\"name\":\"default\",\"href\":\"../\"}],\"symbol\":[{\"name\":\"validate\",\"href\":\"../././~/validate.html\"}]},\"toc_ctx\":{\"usages\":{\"usages\":[{\"name\":\"\",\"content\":\"
import { validate } from ".";\\n
\\n
\",\"icon\":null,\"additional_css\":\"\"}],\"composed\":false},\"top_symbols\":null,\"document_navigation_str\":\"\",\"document_navigation\":[{\"level\":1,\"content\":\"Type Parameters\",\"anchor\":\"type-parameters\"},{\"level\":2,\"content\":\"T\",\"anchor\":\"type_param_t\"},{\"level\":1,\"content\":\"Parameters\",\"anchor\":\"parameters\"},{\"level\":2,\"content\":\"input\",\"anchor\":\"function_validate_0_parameter_input\"},{\"level\":2,\"content\":\"schema\",\"anchor\":\"function_validate_0_parameter_schema\"},{\"level\":1,\"content\":\"Return Type\",\"anchor\":\"return-type\"},{\"level\":1,\"content\":\"Throws\",\"anchor\":\"throws\"}]},\"disable_search\":false,\"categories_panel\":null}" ], [ "./~/validateAsync.json", - "{\"kind\":\"SymbolPageCtx\",\"html_head_ctx\":{\"title\":\"validateAsync - default - documentation\",\"current_file\":\".\",\"stylesheet_url\":\"../styles.css\",\"page_stylesheet_url\":\"../page.css\",\"reset_stylesheet_url\":\"../reset.css\",\"url_search_index\":\"../search_index.js\",\"script_js\":\"../script.js\",\"fuse_js\":\"../fuse.js\",\"search_js\":\"../search.js\",\"darkmode_toggle_js\":\"../darkmode_toggle.js\",\"head_inject\":null,\"disable_search\":false},\"symbol_group_ctx\":{\"name\":\"validateAsync\",\"symbols\":[{\"kind\":{\"kind\":\"Function\",\"char\":\"f\",\"title\":\"Function\",\"title_lowercase\":\"function\",\"title_plural\":\"Functions\"},\"usage\":null,\"tags\":[],\"subtitle\":null,\"content\":[{\"kind\":\"function\",\"value\":{\"functions\":[{\"anchor\":{\"id\":\"function_validateasync_0\"},\"name\":\"validateAsync\",\"summary\":\"<T>(
data: unknown,
schema: Schema<T>
): Promise<T>\",\"deprecated\":null,\"content\":{\"id\":\"\",\"docs\":\"

Validate input data asynchronously.

\\n
\",\"sections\":[{\"header\":{\"title\":\"Type Parameters\",\"anchor\":{\"id\":\"type-parameters\"},\"href\":null,\"doc\":null},\"content\":{\"kind\":\"doc_entry\",\"content\":[{\"name_prefix\":null,\"name\":\"T\",\"name_href\":null,\"content\":\"\",\"anchor\":{\"id\":\"type_param_t\"},\"tags\":[],\"js_doc\":null,\"source_href\":null}]}},{\"header\":{\"title\":\"Parameters\",\"anchor\":{\"id\":\"parameters\"},\"href\":null,\"doc\":null},\"content\":{\"kind\":\"doc_entry\",\"content\":[{\"name_prefix\":null,\"name\":\"data\",\"name_href\":null,\"content\":\": unknown\",\"anchor\":{\"id\":\"function_validateasync_0_parameter_data\"},\"tags\":[],\"js_doc\":\"

The data to validate.

\\n
\",\"source_href\":null},{\"name_prefix\":null,\"name\":\"schema\",\"name_href\":null,\"content\":\": Schema<T>\",\"anchor\":{\"id\":\"function_validateasync_0_parameter_schema\"},\"tags\":[],\"js_doc\":null,\"source_href\":null}]}},{\"header\":{\"title\":\"Return Type\",\"anchor\":{\"id\":\"return-type\"},\"href\":null,\"doc\":null},\"content\":{\"kind\":\"doc_entry\",\"content\":[{\"name_prefix\":null,\"name\":null,\"name_href\":null,\"content\":\"Promise<T>\",\"anchor\":{\"id\":\"function_validateasync_0_return\"},\"tags\":[],\"js_doc\":null,\"source_href\":null}]}}]}}]}}],\"deprecated\":null,\"source_href\":null}],\"diff_status\":{\"kind\":\"added\"}},\"breadcrumbs_ctx\":{\"root\":{\"name\":\"index\",\"href\":\"../\"},\"current_entrypoint\":{\"name\":\"default\",\"href\":\"../\"},\"entrypoints\":[{\"name\":\"all symbols\",\"href\":\".././all_symbols.html\"},{\"name\":\"default\",\"href\":\"../\"}],\"symbol\":[{\"name\":\"validateAsync\",\"href\":\"../././~/validateAsync.html\"}]},\"toc_ctx\":{\"usages\":{\"usages\":[{\"name\":\"\",\"content\":\"
import { validateAsync } from ".";\\n
\\n
\",\"icon\":null,\"additional_css\":\"\"}],\"composed\":false},\"top_symbols\":null,\"document_navigation_str\":\"\",\"document_navigation\":[{\"level\":1,\"content\":\"Type Parameters\",\"anchor\":\"type-parameters\"},{\"level\":2,\"content\":\"T\",\"anchor\":\"type_param_t\"},{\"level\":1,\"content\":\"Parameters\",\"anchor\":\"parameters\"},{\"level\":2,\"content\":\"data\",\"anchor\":\"function_validateasync_0_parameter_data\"},{\"level\":2,\"content\":\"schema\",\"anchor\":\"function_validateasync_0_parameter_schema\"},{\"level\":1,\"content\":\"Return Type\",\"anchor\":\"return-type\"}]},\"disable_search\":false,\"categories_panel\":null}" + "{\"kind\":\"SymbolPageCtx\",\"html_head_ctx\":{\"title\":\"validateAsync - default - documentation\",\"current_file\":\".\",\"stylesheet_url\":\"../styles.css\",\"page_stylesheet_url\":\"../page.css\",\"reset_stylesheet_url\":\"../reset.css\",\"url_search_index\":\"../search_index.js\",\"script_js\":\"../script.js\",\"fuse_js\":\"../fuse.js\",\"search_js\":\"../search.js\",\"darkmode_toggle_js\":\"../darkmode_toggle.js\",\"head_inject\":null,\"disable_search\":false},\"symbol_group_ctx\":{\"name\":\"validateAsync\",\"symbols\":[{\"kind\":{\"kind\":\"Function\",\"char\":\"f\",\"title\":\"Function\",\"title_lowercase\":\"function\",\"title_plural\":\"Functions\"},\"usage\":null,\"tags\":[],\"subtitle\":null,\"content\":[{\"kind\":\"function\",\"value\":{\"functions\":[{\"anchor\":{\"id\":\"function_validateasync_0\"},\"name\":\"validateAsync\",\"summary\":\"<T>(
data: unknown,
schema: Schema<T>
): Promise<T>\",\"deprecated\":null,\"content\":{\"id\":\"\",\"docs\":\"

Validate input data asynchronously.

\\n
\",\"sections\":[{\"header\":{\"title\":\"Type Parameters\",\"anchor\":{\"id\":\"type-parameters\"},\"href\":null,\"doc\":null},\"content\":{\"kind\":\"doc_entry\",\"content\":[{\"name_prefix\":null,\"name\":\"T\",\"name_href\":null,\"content\":\"\",\"anchor\":{\"id\":\"type_param_t\"},\"tags\":[],\"js_doc\":null,\"source_href\":null}]}},{\"header\":{\"title\":\"Parameters\",\"anchor\":{\"id\":\"parameters\"},\"href\":null,\"doc\":null},\"content\":{\"kind\":\"doc_entry\",\"content\":[{\"name_prefix\":null,\"name\":\"data\",\"name_href\":null,\"content\":\": unknown\",\"anchor\":{\"id\":\"function_validateasync_0_parameter_data\"},\"tags\":[],\"js_doc\":\"

The data to validate.

\\n
\",\"source_href\":null},{\"name_prefix\":null,\"name\":\"schema\",\"name_href\":null,\"content\":\": Schema<T>\",\"anchor\":{\"id\":\"function_validateasync_0_parameter_schema\"},\"tags\":[],\"js_doc\":null,\"source_href\":null}]}},{\"header\":{\"title\":\"Return Type\",\"anchor\":{\"id\":\"return-type\"},\"href\":null,\"doc\":null},\"content\":{\"kind\":\"doc_entry\",\"content\":[{\"name_prefix\":null,\"name\":null,\"name_href\":null,\"content\":\"Promise<T>\",\"anchor\":{\"id\":\"function_validateasync_0_return\"},\"tags\":[],\"js_doc\":null,\"source_href\":null}]}}]}}]}}],\"deprecated\":null,\"source_href\":null}],\"diff_status\":{\"kind\":\"added\"}},\"breadcrumbs_ctx\":{\"root\":{\"name\":\"index\",\"href\":\"../\"},\"current_entrypoint\":{\"name\":\"default\",\"href\":\"../\"},\"entrypoints\":[{\"name\":\"all symbols\",\"href\":\".././all_symbols.html\"},{\"name\":\"default\",\"href\":\"../\"}],\"symbol\":[{\"name\":\"validateAsync\",\"href\":\"../././~/validateAsync.html\"}]},\"toc_ctx\":{\"usages\":{\"usages\":[{\"name\":\"\",\"content\":\"
import { validateAsync } from ".";\\n
\\n
\",\"icon\":null,\"additional_css\":\"\"}],\"composed\":false},\"top_symbols\":null,\"document_navigation_str\":\"\",\"document_navigation\":[{\"level\":1,\"content\":\"Type Parameters\",\"anchor\":\"type-parameters\"},{\"level\":2,\"content\":\"T\",\"anchor\":\"type_param_t\"},{\"level\":1,\"content\":\"Parameters\",\"anchor\":\"parameters\"},{\"level\":2,\"content\":\"data\",\"anchor\":\"function_validateasync_0_parameter_data\"},{\"level\":2,\"content\":\"schema\",\"anchor\":\"function_validateasync_0_parameter_schema\"},{\"level\":1,\"content\":\"Return Type\",\"anchor\":\"return-type\"}]},\"disable_search\":false,\"categories_panel\":null}" ], [ "search.json", diff --git a/tests/snapshots/html_test__html_doc_files_multiple-15.snap b/tests/snapshots/html_test__html_doc_files_multiple-15.snap index 5ba0716fd..e7fe0b9d1 100644 --- a/tests/snapshots/html_test__html_doc_files_multiple-15.snap +++ b/tests/snapshots/html_test__html_doc_files_multiple-15.snap @@ -148,7 +148,7 @@ expression: files.get(file_name).unwrap() Type
-
Record<string, T extends string ? 0 : 1> +
Record<string, T extends string ? 0 : 1>
diff --git a/tests/snapshots/html_test__html_doc_files_multiple-40.snap b/tests/snapshots/html_test__html_doc_files_multiple-40.snap index 38e027a38..2bebe8505 100644 --- a/tests/snapshots/html_test__html_doc_files_multiple-40.snap +++ b/tests/snapshots/html_test__html_doc_files_multiple-40.snap @@ -145,7 +145,7 @@ expression: files.get(file_name).unwrap() -Hello.computedMethod(a: T extends () => infer R ? R : any): void +Hello.computedMethod(a: T extends () => infer R ? R : any): void

-a: T extends () => infer R ? R : any +a: T extends () => infer R ? R : any
diff --git a/tests/snapshots/html_test__html_doc_files_multiple-41.snap b/tests/snapshots/html_test__html_doc_files_multiple-41.snap index b8b1b5fd7..a23f72687 100644 --- a/tests/snapshots/html_test__html_doc_files_multiple-41.snap +++ b/tests/snapshots/html_test__html_doc_files_multiple-41.snap @@ -229,6 +229,36 @@ Type Parameters diff --git a/tests/snapshots/html_test__html_doc_files_multiple-57.snap b/tests/snapshots/html_test__html_doc_files_multiple-57.snap index 12f28a32b..205316b22 100644 --- a/tests/snapshots/html_test__html_doc_files_multiple-57.snap +++ b/tests/snapshots/html_test__html_doc_files_multiple-57.snap @@ -144,7 +144,7 @@ expression: files.get(file_name).unwrap() -d<T = string>(
foo?: number,
bar?: string,
baz?: { hello?: string; },
qaz: T,
...strings: string[]
): string
+d<T = string>(
foo?: number,
bar?: string,
baz?: { hello?: string; },
qaz: T,
...strings: string[]
): string

<T extends string, E extends T, R = number>(): Hello<T, E, R>", + "anchor": { + "id": "construct_signature_0" + }, + "tags": [], + "js_doc": null, + "source_href": null + } + ] + } + }, { "header": { "title": "Call Signatures", @@ -1312,7 +1339,7 @@ expression: files "composed": false }, "top_symbols": null, - "document_navigation_str": "", + "document_navigation_str": "", "document_navigation": [ { "level": 1, @@ -1334,6 +1361,11 @@ expression: files "content": "R", "anchor": "type_param_r" }, + { + "level": 1, + "content": "Constructors", + "anchor": "constructors" + }, { "level": 1, "content": "Call Signatures", @@ -2523,7 +2555,7 @@ expression: files "id": "function_d_0" }, "name": "d", - "summary": "<T = string>(
foo?: number,
bar?: string,
baz?: { hello?: string; },
qaz: T,
...strings: string[]
): string", + "summary": "<T = string>(
foo?: number,
bar?: string,
baz?: { hello?: string; },
qaz: T,
...strings: string[]
): string", "deprecated": null, "content": { "id": "", @@ -8523,7 +8555,7 @@ expression: files "id": "function_hello_computedmethod_0" }, "name": "Hello.computedMethod", - "summary": "(a: T extends () => infer R ? R : any): void", + "summary": "(a: T extends () => infer R ? R : any): void", "deprecated": null, "content": { "id": "", @@ -8545,7 +8577,7 @@ expression: files "name_prefix": null, "name": "a", "name_href": null, - "content": ": T extends () => infer R ? R : any", + "content": ": T extends () => infer R ? R : any", "anchor": { "id": "function_hello_computedmethod_0_parameter_a" }, @@ -9434,7 +9466,7 @@ expression: files "name_prefix": null, "name": null, "name_href": null, - "content": "Record<string, T extends string ? 0 : 1>", + "content": "Record<string, T extends string ? 0 : 1>", "anchor": { "id": "variable_baz_foo" }, From aa8f68d7da4882959fce9cdb8b6a2164e60d7c7d Mon Sep 17 00:00:00 2001 From: Leo Kettmeir Date: Fri, 17 Apr 2026 13:37:03 +0200 Subject: [PATCH 2/2] fmt --- src/html/symbols/class.rs | 19 +++++++++++++++---- src/html/symbols/interface.rs | 7 +++++-- src/html/types.rs | 16 +++++----------- 3 files changed, 25 insertions(+), 17 deletions(-) diff --git a/src/html/symbols/class.rs b/src/html/symbols/class.rs index c74d46396..620b6831a 100644 --- a/src/html/symbols/class.rs +++ b/src/html/symbols/class.rs @@ -996,9 +996,13 @@ fn render_class_properties( while let Some(property) = properties.next() { let content = match property { - PropertyOrMethod::Property(property) => { - render_class_property(ctx, class_name, &property, property_changes, inherited_docs) - } + PropertyOrMethod::Property(property) => render_class_property( + ctx, + class_name, + &property, + property_changes, + inherited_docs, + ), PropertyOrMethod::Method(method) => { let (getter, setter) = if method.kind == MethodKind::Getter { let next_is_setter = properties @@ -1135,7 +1139,14 @@ fn render_class_methods( .values() .flat_map(|methods| { methods.iter().enumerate().filter_map(|(i, method)| { - render_class_method(ctx, class_name, method, i, method_changes, inherited_docs) + render_class_method( + ctx, + class_name, + method, + i, + method_changes, + inherited_docs, + ) }) }) .collect(); diff --git a/src/html/symbols/interface.rs b/src/html/symbols/interface.rs index 4550b3479..1fc36b7d6 100644 --- a/src/html/symbols/interface.rs +++ b/src/html/symbols/interface.rs @@ -144,8 +144,11 @@ pub(crate) fn render_construct_signatures( let tags = Tag::from_js_doc(&constructor.js_doc); - let ctor_diff = constructor_changes - .and_then(|d| d.modified.iter().find(|m| m.param_count == constructor.params.len())); + let ctor_diff = constructor_changes.and_then(|d| { + d.modified + .iter() + .find(|m| m.param_count == constructor.params.len()) + }); let diff_status = if let Some(diff) = constructor_changes { if diff.added.iter().any(|a| a == constructor) { diff --git a/src/html/types.rs b/src/html/types.rs index 94b73d5cc..8dfb7b634 100644 --- a/src/html/types.rs +++ b/src/html/types.rs @@ -175,10 +175,7 @@ pub(crate) fn render_type_def( )) } } - crate::ts_type::TypeRefResolution::Import { - specifier, - name, - } => { + crate::ts_type::TypeRefResolution::Import { specifier, name } => { // Try the normal lookup first, fall back to import href ctx.lookup_symbol_href(&type_ref.type_name).or_else(|| { let symbol_name = if let Some(name) = name.as_deref() { @@ -187,13 +184,10 @@ pub(crate) fn render_type_def( } else { // Star import (import * as ns): type_name is "ns.Foo.Bar", // strip the namespace prefix to get "Foo.Bar" - type_ref - .type_name - .split_once('.') - .map_or_else( - || type_ref.type_name.clone(), - |(_, rest)| rest.to_string(), - ) + type_ref.type_name.split_once('.').map_or_else( + || type_ref.type_name.clone(), + |(_, rest)| rest.to_string(), + ) }; ctx.ctx.href_resolver.resolve_import_href( &symbol_name