@custom-elements-manifest/analyzer
Version:
<!-- [=> See Source <=](../../docs/analyzer/index.md) -->
60 lines (53 loc) • 1.21 kB
JavaScript
/**
* ARROW FUNCTIONS
*/
export const arrow1 = () => {}
export const arrow2 = (bar) => {}
export const arrow3 = (bar:string) => {}
export const arrow4 = (bar:string):boolean => {}
/**
* @param {number} bar
*/
export const arrow5 = (bar:string):boolean => {}
/**
* @param {number} bar
* @return {string}
*/
export const arrow6 = (bar:string):boolean => {}
/**
* FUNCTION DECLARATIONS
*/
export function functionDeclaration1(){}
export function functionDeclaration2(bar){}
export function functionDeclaration3(bar:string){}
export function functionDeclaration4(bar:string):boolean{}
/**
* @param {number} bar
*/
export function functionDeclaration5(bar:string):boolean{}
/**
* @param {number} bar
* @return {string}
*/
export function functionDeclaration6(bar:string):boolean{}
export function emptyReturn() {
return;
}
/**
* METHODS
*/
export class MyEl {
functionDeclaration1(){}
functionDeclaration2(bar){}
functionDeclaration3(bar:string){}
functionDeclaration4(bar:string):boolean{}
/**
* @param {number} bar
*/
functionDeclaration5(bar:string):boolean{}
/**
* @param {number} bar
* @return {string}
*/
functionDeclaration6(bar:string):boolean{}
}