Everlaw / nbts

NetBeans TypeScript editor plugin
282 stars 46 forks source link

Array.fill shows error. #143

Open PavelTurk opened 5 years ago

PavelTurk commented 5 years ago

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.