doctest-ts/examples/example0.ts

18 lines
269 B
TypeScript
Raw Normal View History

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
}
}