Skip to content

Conversation

@BadAimWeeb
Copy link

node_modules/superdilithium/index.d.ts:105:4 - error TS1016: A required parameter cannot follow an optional parameter.

105    includeHash: true
       ~~~~~~~~~~~

node_modules/superdilithium/index.d.ts:129:4 - error TS1016: A required parameter cannot follow an optional parameter.

129    includeHash: true
       ~~~~~~~~~~~

node_modules/superdilithium/index.d.ts:185:4 - error TS1016: A required parameter cannot follow an optional parameter.

185    includeHash: true
       ~~~~~~~~~~~


Found 3 errors in the same file, starting at: node_modules/superdilithium/index.d.ts:105

So I changed it to be

includeHash?: boolean

instead since that's what it supposed to be.

@BadAimWeeb BadAimWeeb changed the title Fixing TS1016 when using TypeScript Fixing TS1016 when using TypeScript on package superdilithium Mar 20, 2023
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.

1 participant