What is the question mark for in a Typescript parameter name
It is to mark the parameter as optional. TypeScript handbook https://www.typescriptlang.org/docs/handbook/2/functions.html#optional-parameters TypeScript Deep Dive https://basarat.gitbook.io/typescript/type-system/functions#optional-parameters