Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(typescript): Tighten up TypeScript settings to be ECMAScript and Deno compatible #81

Merged
merged 1 commit into from
Apr 20, 2021

Conversation

daffl
Copy link
Member

@daffl daffl commented Apr 20, 2021

This is a follow-up to #69. It turns out that Deno 1.9 set useDefineForClassFields which broke checking the result for undefined. This pull request pulls the additional hook context properties into an interface and also enables strictNullChecks so that it works with more strict TypeScript settings (including the Deno defaults).

@daffl daffl merged commit 28fe875 into master Apr 20, 2021
@daffl daffl deleted the ts-settings branch April 20, 2021 15:47
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.

None yet

1 participant