Typescript type definition complains about 'function'
chaussen opened this issue ยท 1 comments
chaussen commented
When I run cypress with typescript and cypress-map, I got the following error from typescript:
node_modules/cypress-map/commands/index.d.ts:113:29 - error TS2552: Cannot find name 'function'. Did you mean 'Function'?
113 print(format?: string | function): Chainable<any>
~~~~~~~~
node_modules/typescript/lib/lib.es5.d.ts:318:13
318 declare var Function: FunctionConstructor;
~~~~~~~~
'Function' is declared here.
The script still works.
github-actions commented
๐ This issue has been resolved in version 1.12.1 ๐
The release is available on:
Your semantic-release bot ๐ฆ๐