Skip to content

Fix TypeScript errors with --noImplicitAny#112

Closed
sshader wants to merge 1 commit intoreplicate:mainfrom
sshader:sshader-types
Closed

Fix TypeScript errors with --noImplicitAny#112
sshader wants to merge 1 commit intoreplicate:mainfrom
sshader:sshader-types

Conversation

@sshader
Copy link
Copy Markdown

@sshader sshader commented Jul 31, 2023

Running npx tsc --noImplicitAny index.d.ts makes these pop up.

These also appear if importing replicate in a TS project with noImplicitAny.

(I think fixes #109)

@mattt
Copy link
Copy Markdown
Contributor

mattt commented Jul 31, 2023

Thanks for contributing this fix, @sshader. I'd just merged #110 before seeing this. Everything should be fixed with the latest patch version, v0.14.1.

@mattt mattt closed this Jul 31, 2023
@sshader
Copy link
Copy Markdown
Author

sshader commented Jul 31, 2023

(oops #110 beat me to it -- I think adding --noImplicitAny / or --strict and checking that the .d.ts compiles with those could be useful?)

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.

Broken TypeScript types in 0.14.0

2 participants