Skip to content

Conversation

kukuhyoniatmoko
Copy link
Contributor

type this as Validator
so we can call it like this.makeError(...)

without this change we will get 'this' implicitly has type 'any' because it does not have a type annotation.ts(2683) if we call this.makeError inside CompilationFunction in TypeScript

type `this` as `Validator`
so we can call it like `this.makeError(...)`
@coveralls
Copy link

Coverage Status

Coverage remained the same at 99.744% when pulling ad26068 on kukuhyoniatmoko:master into b538cd9 on icebob:master.

Copy link
Owner

@icebob icebob left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@icebob icebob merged commit 9c7bc8c into icebob:master Apr 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants