Companion

Properties

Link copied to clipboard
Link copied to clipboard

interface Y { ():number; }

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

class X { constructor() { } } class X { static { } }

Link copied to clipboard

interface Y { new():Y; }

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Inside module and script only function f() { }

Link copied to clipboard

interface Y { []:number; }

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

predefined type (void) or keyword (class)

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Jsdoc @link: in {@link C link text}, the before and after text "{@link " and "}"

Link copied to clipboard

Jsdoc @link: in {@link C link text}, the entity name "C"

Link copied to clipboard

Jsdoc @link: in {@link C link text}, the link text "link text"

Link copied to clipboard

var x = class X {}

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

class X { public|private* accessor foo: number; }

Link copied to clipboard

class X { public|private* foo() {} }

Link copied to clipboard

class X { public|private* get|set foo:number; }

Link copied to clipboard

class X { public|private* foo:number; } interface Y { foo:number; }

Link copied to clipboard
Link copied to clipboard

function foo(Y: string)

Link copied to clipboard
Link copied to clipboard

top level script node

Link copied to clipboard

String literal

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Inside module and script only const v = ..

Link copied to clipboard
Link copied to clipboard