declaration.svelte.ts view source
Rich runtime representation of an exported declaration.
module
type Module
readonly
declaration_json
type DeclarationJson
readonly
library
module_path
Module path where this declaration is defined.
name
kind
url_github
GitHub source URL with line number.
url_api
API documentation URL.
import_statement
Generated TypeScript import statement.
url_api_full
Public documentation link (if homepage_url is available).
display_name
Display name with generic parameters.
type_signature
doc_comment
deprecated_message
parameters
props
return_type
return_description
generic_params
extends
implements
throws
since
examples
see_also
members
type Array<DeclarationJson> | undefined
properties
type Array<DeclarationJson> | undefined
has_examples
is_deprecated
has_documentation
has_parameters
has_props
has_generics
constructor
type new (module: Module, declaration_json: { [x: string]: unknown; name: string; kind: "function" | "type" | "json" | "variable" | "class" | "constructor" | "component" | "css"; doc_comment?: string | undefined; ... 18 more ...; alias_of?: { ...; } | undefined; }): Declaration
module
type Module
declaration_json
type
{ [x: string]: unknown; name: string; kind: "function" | "type" | "json" | "variable" | "class" | "constructor" | "component" | "css"; doc_comment?: string | undefined; type_signature?: string | undefined; ... 17 more ...; alias_of?: { ...; } | undefined; }