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

Array.fill shows error. #143

Open
PavelTurk opened this issue Oct 15, 2018 · 0 comments
Open

Array.fill shows error. #143

PavelTurk opened this issue Oct 15, 2018 · 0 comments

Comments

@PavelTurk
Copy link

This is my code:

import {Foo} from "./Foo";
const foo:string[] = new Array(3).fill(''); //LINE X

At LINE X plugin shows me Property 'fill' doesn't exist on type 'any[]'. At the same time I can compile the code without problems.

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