@defaultValue
- Tag Kind
- Block
- TSDoc Reference
- @defaultValue
The @defaultValue
tag can be used to document the default value for an accessor or property.
The default theme does not attach special behavior to this tag, displaying its contents under
a # Default Value
header like other block tags.
Example
export interface CompilerOptions {
strict?: boolean;
/**
* @defaultValue `true` if `strict` is `true`, otherwise `false`
*/
strictNullChecks?: boolean;
}