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:
Pieter Vander Vennet 2022-03-17 20:38:01 +01:00
parent 1812b4e0e8
commit e8ddc329e8
3 changed files with 75 additions and 13 deletions

18
examples/example0.ts Normal file
View 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
}
}