You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 4, 2020. It is now read-only.
Compiling Typescript will throw an error when using the should(obj).asset() function because it doesn't exist on the type Assertion. Simplest solution would by adding the following to the Assertion interface to allow dynamic properties:
[key: string]: any;
The text was updated successfully, but these errors were encountered:
Hi.
Node.js version?
8.11.1
Should.js version?
13.2.1
How to reproduce it?
When using shouldjs with Typescript and extending the should Assertions with a custom function:
Lets say:
Compiling Typescript will throw an error when using the
should(obj).asset()
function because it doesn't exist on the type Assertion. Simplest solution would by adding the following to theAssertion
interface to allow dynamic properties:The text was updated successfully, but these errors were encountered: