Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function comment(s?: string): Comment {
return {
type: TokenType.Comment,
chars: s === undefined ? '' : s
};
}