JavaScript allows functions to work flexibly when the arguments passed are of different types and/or at different positions: The useState Hook lets you pass an initial value or a function for lazy initialization, or you can skip it altogether and pass nothing to it. The query API from node-postgres accepts an optional callback function andContinue reading “Type Polymorphic Functions In TypeScript”
Tag Archives: TypeScript
Amazon Announces AWS Lambda Powertools TypeScript
A suite of utilities for AWS Lambda Functions that makes structured logging, creating custom metrics asynchronously and tracing with AWS X-Ray easier. Read more…