Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

incremental clutz does not handle open interfaces #832

@rkirov

Description

@rkirov

If a closure file wants to reopen an interface and add a property:

goog.module('goog.bar');

const I = goog.require('goog.foo.I');

/** @const {string} */
I.prototype.foo;

Incremental clutz currently completely ignores this, while potentially it can emit an appropriate TS interface extension.

declare namespace goog.foo.I {
  interface I {...}

Note, this would be tricky to implement because it would require an emit for 'goog.foo.I', while visiting 'goog.bar';

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No 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