Everlaw / nbts

NetBeans TypeScript editor plugin
283 stars 46 forks source link

Array.fill shows error. #143

Open PavelTurk opened 6 years ago

PavelTurk commented 6 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.