Implement support for computed names
jim-lub opened this issue · 1 comments
jim-lub commented
Example:
export enum Kind {
Aad = "Aad",
Fred = "Fred",
}
export interface Data {
d: Document<Kind.Aad>
collection: {
[Kind.Aad]: Document<Kind.Aad>
}
}
export type Document<T extends Kind> = {
kind: T
}
Error:
S146: No support for computed names [Kind.Aad]
8 collection: {
9 [Kind.Aad]: Document<Kind.Aad>
~~~~~~~~~~~~~~
kamilafsar commented
With the release of v0.10.0 this should be fixed. Closing this ticket. Please reopen if you still encounter issues.