Remove required version
option, implement required constructor options dynamically based on Base.Options
interface
#60
Labels
This is a follow up to #57 (comment)
I think what I'd suggest we do is to add a new
use-cases
folder, and in that folder createrequired-options
withindex.js
,index.d.ts
andindex.test-d.ts
files.In
/use-cases/required-options/index.d.ts
we would define a required option by extending theBase.Options
interface and then add tests toindex.test-d.ts
to make sure the types work correctly with thenew Base(options)
constructor and with.defaults(options)
callsThe text was updated successfully, but these errors were encountered: