rynop / dynamodb-local

A wrapper for AWS DynamoDB Local, intended for use in testcases
MIT License
52 stars 30 forks source link

Mark Config options as optional in TypeScript typings #36

Closed pe8ter closed 4 years ago

pe8ter commented 4 years ago

With strict typings enabled, consumers are forced to specify all fields for the Config object, even though configureInstaller(conf) already handles missing fields.

Right now I have to do this

DynamoDbLocal.configureInstaller({
    installPath: '/path/to/my/tmp',
    downloadUrl: null
});

when I should be able to do this

DynamoDbLocal.configureInstaller({
    installPath: '/path/to/my/tmp'
});
rynop commented 4 years ago

v0.0.31 published. Thanks!

pe8ter commented 4 years ago

No prob. Thanks for the fast turnaround!