Add support for a title, add support for tags in docstrings, expose private methods in doctests to make them testable
This commit is contained in:
parent
1812b4e0e8
commit
e8ddc329e8
3 changed files with 75 additions and 13 deletions
18
examples/example0.ts
Normal file
18
examples/example0.ts
Normal file
|
@ -0,0 +1,18 @@
|
|||
|
||||
|
||||
export default class Example0 {
|
||||
|
||||
/**
|
||||
* Gets the field doubled
|
||||
* @example xyz
|
||||
*
|
||||
* // Should equal 42
|
||||
* Example0.get() // => 42
|
||||
*
|
||||
* Example0.get() + 1 // => 43
|
||||
*/
|
||||
private static get(){
|
||||
return 42
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue