mirror of
https://github.com/danbulant/oxc
synced 2026-05-25 04:42:10 +00:00
49 lines
872 B
JavaScript
49 lines
872 B
JavaScript
// some line comment
|
|
/**
|
|
* this function is terrible
|
|
* @deprecated please use 'x' instead.
|
|
* @return null
|
|
*/
|
|
// another line comment
|
|
// with two lines
|
|
export function fn() { return null }
|
|
|
|
/**
|
|
* so terrible
|
|
* @deprecated this is awful, use NotAsBadClass.
|
|
*/
|
|
export default class TerribleClass {
|
|
|
|
}
|
|
|
|
/**
|
|
* some flux action type maybe
|
|
* @deprecated please stop sending/handling this action type.
|
|
* @type {String}
|
|
*/
|
|
export const MY_TERRIBLE_ACTION = "ugh"
|
|
|
|
/**
|
|
* @deprecated this chain is awful
|
|
* @type {String}
|
|
*/
|
|
export const CHAIN_A = "a",
|
|
/**
|
|
* @deprecated so awful
|
|
* @type {String}
|
|
*/
|
|
CHAIN_B = "b",
|
|
|
|
/**
|
|
* @deprecated still terrible
|
|
* @type {String}
|
|
*/
|
|
CHAIN_C = "C"
|
|
|
|
/**
|
|
* this one is fine
|
|
* @return {String} - great!
|
|
*/
|
|
export function fine() { return "great!" }
|
|
|
|
export function _undocumented() { return "sneaky!" }
|