getEffectiveTypeParameterDeclarations

external fun getEffectiveTypeParameterDeclarations(node: DeclarationWithTypeParameters): ERROR CLASS: Symbol not found for js.array.ReadonlyArray<typescript/TypeParameterDeclaration>(source)

Gets the effective type parameters. If the node was parsed in a JavaScript file, gets the type parameters from the @template tag from JSDoc.

This does not return type parameters from a jsdoc reference to a generic type, eg

type Id = (x: T) => T /** @type {Id} / function id(x) { return x }