Skip to content

relative path not working. #19

@trusktr

Description

@trusktr

Hello! I tried this:

/** @typedef {import('../../../../node_modules/@babylonjs/core/node.js').Node} BabylonNode */

and it results in the error:

ERROR: Unable to parse a tag's type expression for source file /Users/trusktr/src/autonomys+unnamed-experiment/submodules/amazon-sumerian-hosts/packages/amazon-sumerian-hosts-babylon/src/Babylon.js/HostObject.js in line 20 with tag title "typedef" and text "{import('../../../../node_modules/@babylonjs/core/node.js').Node} BabylonNode": Invalid type expression "import('../../../../node_modules/@babylonjs/core/node.js').Node": Expected "!", "=", "?", "[]", "|", or end of input but "(" found.

This does not have an error:

/** @typedef {import('@babylonjs/core/node.js').Node} BabylonNode */

but the output docs contains module:@babylonjs/core/node.js~Node as the type in the doc, and does not link to the Node type.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions