Skip to content

Conversation

justinfagnani
Copy link
Collaborator

Fixes #76

InterfaceDeclaration is very similar to ClassDeclaration but doesn't imply a constructor and replaces superclass and mixins with supertypes.

@justinfagnani justinfagnani requested a review from thepassle July 2, 2021 20:45

members?: Array<ClassMember>;

source?: SourceReference;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fwiw I still dont know what a SourceReference really is or how its supposed to be documented

I think the PR for SourceReferences was merged by you and Alexander, I added some comments after merging (because I had missed the PR), but I still dont really know. Would be nice to have some clarification

@thepassle
Copy link
Collaborator

We're kind of entering murky waters here with the export for an interface:

     "exports": [
        {
+         "kind": "js",
          "name": "MyInterface",
          "declaration": {
            "name": "MyInterface",
            "module": "fixtures/-default/package/bar.js"
          }
        }
      ]

Do we think kind: 'js' is really correct here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add InterfaceDeclaration
2 participants