Skip to content
This repository was archived by the owner on Nov 19, 2018. It is now read-only.
This repository was archived by the owner on Nov 19, 2018. It is now read-only.

Typescript definition file for fine-uploader-wrappers #3

@rakeshmotghare

Description

@rakeshmotghare

Uploader type

Traditional
Feature Request

Fine Uploader version 5.15.0

Fine Uploader Wrappers version

1.0.0

Browsers where the bug is reproducible

Almost All

Operating systems where the bug is reproducible

Windows 10

Feature request details

It will really help and time saver if you provide a typescript definition file during the npm install.

Feature Request
I am getting error while committing my changes to VSTS. Could not find a declaration file for module 'fine-uploader-wrappers'. 'd:\a\1\s\WebUI\node_modules\fine-uploader-wrappers\traditional.js' implicitly has an 'any' type

In my local, I have resolved this issue by creating a .d.ts file for the FineUploaderTraditional I am using from fine uploader wrappers. But when I create a pull request it fails as the build does a npm install which overwrites the contents in fine-uploader-wrappers folder in node_modules folder.

Here is the code I was using in a index.d.ts file I have created to make FineUploaderTraditional work in typescript.

export default class FineUploaderTraditional{
constructor(obj:any);
on(eventName:string, callBackFunction:Function):void;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions