-
Notifications
You must be signed in to change notification settings - Fork 263
Interface with variable members is allowed #194
Copy link
Copy link
Closed
Labels
bugThis issue is a bug.This issue is a bug.closed-for-stalenesseffort/mediumMedium work item – a couple days of effortMedium work item – a couple days of effortp2
Description
jsii does not reject the following interface definition:
export interface Thingamajig {
[key: string]: string
}But what it generates for it is an empty interface, which is not correct:
"@scope/lib.Thingamajig": {
"assembly": "@scope/lib",
"fqn": "@scope/lib.Thingamajig",
"kind": "interface",
"name": "Thingamajig"
},
It should either reject this definition, or generate something sensible.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugThis issue is a bug.This issue is a bug.closed-for-stalenesseffort/mediumMedium work item – a couple days of effortMedium work item – a couple days of effortp2