Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unexpected token error #13

Open
brewster1134 opened this issue Oct 29, 2020 · 0 comments
Open

unexpected token error #13

brewster1134 opened this issue Oct 29, 2020 · 0 comments

Comments

@brewster1134
Copy link

not sure what level of ts support this plugin has, but figured i would post my issue.

getting the error Unexpected token, expected "]"

my code is

export default class Foo {
  [api: string]: Function
}
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

No branches or pull requests

1 participant