leewinder / ng2-file-drop

An Angular module for simple desktop file drag and drop with automatic file validation and dynamic style adjustment.
MIT License
28 stars 26 forks source link

accepted-file.ts:5 #36

Closed exlineo closed 6 years ago

exlineo commented 7 years ago

Strangely, I've this error in console log : Uncaught TypeError: Cannot read property 'create' of undefined at accepted-file.ts:5 Chrome is trying to read a TS file. Im' working on angular 4.3.6, Typescript 2.4.2, ng2-file-drop 1.1.0 and typing is globaly installed...

Do you have any clue ?

leewinder commented 6 years ago

Should be resolved in ng2-file-drop v5.0.0 https://www.npmjs.com/package/ng2-file-drop