Current version doesn't compile for typescript with "noImplicitAny" option turned on
Closed this issue · 1 comments
roman-acumen commented
The TS returns the following error:
node_modules/jira-connector/api/project.d.ts:2:44 - error TS7006: Parameter 'err' implicitly has an 'any' type.
2 getAllProjects(opts?: any, callback?: (err, data) => void): Promise<any>;
~~~
node_modules/jira-connector/api/project.d.ts:2:49 - error TS7006: Parameter 'data' implicitly has an 'any' type.
2 getAllProjects(opts?: any, callback?: (err, data) => void): Promise<any>;
~~~~
node_modules/jira-connector/api/project.d.ts:23:21 - error TS7006: Parameter 'err' implicitly has an 'any' type.
23 callback?: (err, data) => void
~~~
node_modules/jira-connector/api/project.d.ts:23:26 - error TS7006: Parameter 'data' implicitly has an 'any' type.
23 callback?: (err, data) => void
~~~~
node_modules/jira-connector/api/project.d.ts:28:21 - error TS7006: Parameter 'err' implicitly has an 'any' type.
28 callback?: (err, data) => void
~~~
node_modules/jira-connector/api/project.d.ts:28:26 - error TS7006: Parameter 'data' implicitly has an 'any' type.
28 callback?: (err, data) => void
~~~~
node_modules/jira-connector/api/project.d.ts:31:43 - error TS7006: Parameter 'err' implicitly has an 'any' type.
31 createProject(opts?: any, callback?: (err, data) => void): Promise<any>;
~~~
node_modules/jira-connector/api/project.d.ts:31:48 - error TS7006: Parameter 'data' implicitly has an 'any' type.
31 createProject(opts?: any, callback?: (err, data) => void): Promise<any>;
~~~~
node_modules/jira-connector/api/project.d.ts:33:49 - error TS7006: Parameter 'err' implicitly has an 'any' type.
33 getProjectProperties(opts: any, callback?: (err, data) => void): Promise<any>;
~~~
node_modules/jira-connector/api/project.d.ts:33:54 - error TS7006: Parameter 'data' implicitly has an 'any' type.
33 getProjectProperties(opts: any, callback?: (err, data) => void): Promise<any>;
~~~~
node_modules/jira-connector/api/project.d.ts:35:39 - error TS7006: Parameter 'err' implicitly has an 'any' type.
35 getProject(opts: any, callback?: (err, data) => void): Promise<any>;
~~~
node_modules/jira-connector/api/project.d.ts:35:44 - error TS7006: Parameter 'data' implicitly has an 'any' type.
35 getProject(opts: any, callback?: (err, data) => void): Promise<any>;
~~~~
node_modules/jira-connector/api/project.d.ts:37:42 - error TS7006: Parameter 'err' implicitly has an 'any' type.
37 getComponents(opts: any, callback?: (err, data) => void): Promise<any>;
~~~
node_modules/jira-connector/api/project.d.ts:37:47 - error TS7006: Parameter 'data' implicitly has an 'any' type.
37 getComponents(opts: any, callback?: (err, data) => void): Promise<any>;
~~~~
node_modules/jira-connector/api/project.d.ts:39:40 - error TS7006: Parameter 'err' implicitly has an 'any' type.
39 getStatuses(opts: any, callback?: (err, data) => void): Promise<any>;
~~~
node_modules/jira-connector/api/project.d.ts:39:45 - error TS7006: Parameter 'data' implicitly has an 'any' type.
39 getStatuses(opts: any, callback?: (err, data) => void): Promise<any>;
~~~~
node_modules/jira-connector/api/project.d.ts:41:40 - error TS7006: Parameter 'err' implicitly has an 'any' type.
41 getVersions(opts: any, callback?: (err, data) => void): Promise<any>;
~~~
node_modules/jira-connector/api/project.d.ts:41:45 - error TS7006: Parameter 'data' implicitly has an 'any' type.
41 getVersions(opts: any, callback?: (err, data) => void): Promise<any>;
~~~~
node_modules/jira-connector/api/project.d.ts:43:37 - error TS7006: Parameter 'err' implicitly has an 'any' type.
43 getRoles(opts: any, callback?: (err, data) => void): Promise<any>;
~~~
node_modules/jira-connector/api/project.d.ts:43:42 - error TS7006: Parameter 'data' implicitly has an 'any' type.
43 getRoles(opts: any, callback?: (err, data) => void): Promise<any>;
~~~~
node_modules/jira-connector/api/project.d.ts:45:36 - error TS7006: Parameter 'err' implicitly has an 'any' type.
45 getRole(opts: any, callback?: (err, data) => void): Promise<any>;
~~~
node_modules/jira-connector/api/project.d.ts:45:41 - error TS7006: Parameter 'data' implicitly has an 'any' type.
45 getRole(opts: any, callback?: (err, data) => void): Promise<any>;
~~~~
node_modules/jira-connector/api/project.d.ts:47:39 - error TS7006: Parameter 'err' implicitly has an 'any' type.
47 updateRole(opts: any, callback?: (err, data) => void): Promise<any>;
~~~
node_modules/jira-connector/api/project.d.ts:47:44 - error TS7006: Parameter 'data' implicitly has an 'any' type.
47 updateRole(opts: any, callback?: (err, data) => void): Promise<any>;
~~~~
node_modules/jira-connector/api/project.d.ts:49:38 - error TS7006: Parameter 'err' implicitly has an 'any' type.
49 addToRole(opts: any, callback?: (err, data) => void): Promise<any>;
~~~
node_modules/jira-connector/api/project.d.ts:49:43 - error TS7006: Parameter 'data' implicitly has an 'any' type.
49 addToRole(opts: any, callback?: (err, data) => void): Promise<any>;
~~~~
MrRefactoring commented
Nice catch! Thank you for the contribution!