Skip to content

Legacy module Syntax for namespaces will be removed in TypeScript 7 (is already from tsgo) #16922

@hilja

Description

@hilja

FAQ

URL

What happened?

This syntax for defining a namespace will be removed in TypeScript 6 and is already removed in tsgo.

declare module Audit {

What did you expect?

Correct syntax for defining a namespace:

declare namespace Audit {}

What have you tried?

No response

How were you running Lighthouse?

node

Lighthouse Version

13.0.3

Chrome Version

No response

Node Version

No response

OS

No response

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions