4 ms·
Yeah, we opted for classes like this to ensure simple, reliable static typing. The amount of runtime code generated per endpoint is typically around 3 short li
by rattray 2y ago
Yeah, we opted for classes like this to ensure simple, reliable static typing.
The amount of runtime code generated per endpoint is typically around 3 short lines – here's an example, also posted elsewhere on this thread: https://github.com/lithic-com/lithic-node/blob/36d4a6a70597e9d15153510b97488875c51e034f/src/resources/cards/cards.ts#L26-L28 https://github.com/lithic-com/lithic-node/blob/36d4a6a70597e...