Skip to content

Docs: "Try it yourself" example of d.ts declaration usage doesn't work. #2764

Closed as not planned
@LeonardoDaLuz

Description

@LeonardoDaLuz

"Try it yourself" example of d.ts declaration usage doesn't work.

https://www.typescriptlang.org/docs/handbook/declaration-files/templates/module-d-ts.html

image

I don't know how to fix it as I'm trying to learn but the docs aren't clear. It doesn't work for me, and the example running on the site doesn't either.

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